Strange memory stats on AMD Opteron_x86_64 on Fedora Core4

Kostis Sagonas kostis@REDACTED
Sat Mar 11 10:33:13 CET 2006


Ernie Makris wrote:

 > While using Erlang (BEAM) emulator version 5.4.12 [64-bit] [source]
 > [hipe] [threads:0]
 > I'm seeing some really strange behavior with reporting stats.
 > 
 > erlang:memory()
 > [{total,18446548566807571279},
 >  {processes,18446548566799419082},
 >  {processes_used,18446548566799393690},
 > ...
 > Anyone have any ideas? There was a hipe fix in R10B-10. I'm upgrading
 > now, does anyone know if this is the type of problem it solves?

The problem you are experiencing seems to be the side effect of 
confusion between 32 vs. 64 bit values somewhere.  It is highly
unlikely that this is HiPE-related.  From my recollection, the
fix that you are referring to is not 64-bit specific.

We could possibly fix this, but for this we need access to an Erlang
program that exhibits the problem.  If you send us such a beast, we
will most probably send you an appropriate patch.

Kostis




More information about the erlang-questions mailing list