#154593 - 2006-01-05 02:47 PM
Bug in MemorySize() ?
|
weiali
Lurker
Registered: 2002-06-01
Posts: 1
Loc: Finland
|
After updating kiXtart from 4.21 to version 4.51 in our login scripts, the memorysize() function started behaving funny. We have some machines that have 256MB of physical RAM on them, but the report shows huge increase in memory size.
This doesn't happen to all machines, but it's rather consistent once wrong memory size is reported.
It would be a nice and cheap upgrade if that's true. 
Here're some extracts from our inventroy-report (All the machines below have 256MB RAM, and use our standard XPSP2 image): ----------- Code: $Memory = MemorySize(0) ? $Memory + "MB" ----------- Report: 1: Machine type: Intel(R) Pentium(R) 4 CPU 2.00GHz@1993MHZ, Memory 253 MB 2: Machine type: Intel(R) Pentium(R) 4 CPU 2.00GHz@1993MHZ, Memory 253 MB 3: Machine type: Intel(R) Pentium(R) 4 CPU 2.00GHz@1993MHZ, Memory 1777 MB 4: Machine type: Intel(R) Pentium(R) 4 CPU 2.00GHz@1993MHZ, Memory 2287 MB 5: Machine type: Intel(R) Pentium(R) 4 CPU 2.00GHz@1993MHZ, Memory 1777 MB
Is it a bug?
|
Top
|
|
|
|
#154595 - 2006-01-05 07:21 PM
Re: Bug in MemorySize() ?
|
Allen
KiX Supporter
   
Registered: 2003-04-19
Posts: 4537
Loc: USA
|
Quite a few threads have been generated on this topic... one workaround is to use the following UDF: Memory()
|
Top
|
|
|
|
#154598 - 2006-02-21 11:19 AM
Re: Bug in MemorySize() ?
|
PRandal
Fresh Scripter
Registered: 2002-07-17
Posts: 28
|
On one of our servers...
macro = 2048 udf = 3328
Something definitely wrong, there.
|
Top
|
|
|
|
Moderator: ShaneEP, Arend_, Jochen, Radimus, Glenn Barnas, Allen, Ruud van Velsen, Mart
|
0 registered
and 329 anonymous users online.
|
|
|