jerry gay wrote:

it seems punie's using way too much memory. in fact, it's running out
of memory on my 512MB system, and peaks at 480MB usage during PAST
generation on my machine with 1.5GB. these are win32, using msvc, and
the command i ran was ...

Seems like way too much memory considering that only a small number of objects would be expected to created.

This is probably totally unrelated but I started tracking down a problem that I was having yesterday where I was running out of memory on cygwin with virtually every PGE test (nothing else seemed to be affected). Putting a print (to stderr) in mem__internal_allocate_zeroed, I got something like this:

$ ./parrot t/compilers/pge/pge_39.pir
Allocate 131128 bytes
Allocate 68 bytes
Allocate 68 bytes
Allocate 68 bytes
Allocate 68 bytes
Allocate 68 bytes
Allocate 68 bytes
Allocate 10240 bytes
Allocate 17920 bytes
Allocate 68 bytes
Allocate 12288 bytes
Allocate 16384 bytes
Allocate 1536 bytes
Allocate 10240 bytes
Allocate 17920 bytes
Allocate 2688 bytes
Allocate 4704 bytes
Allocate 31360 bytes
Allocate 31360 bytes
Allocate 8232 bytes
Allocate 54880 bytes
Allocate 14400 bytes
Allocate 28672 bytes
Allocate 54880 bytes
Allocate 96040 bytes
Allocate 25200 bytes
Allocate 18432 bytes
Allocate 8248 bytes
Allocate 96040 bytes
Allocate 21504 bytes
Allocate 16440 bytes
Allocate 68 bytes
Allocate 14336 bytes
Allocate 68 bytes
Allocate 12288 bytes
Allocate 1920098744 bytes
Parrot VM: PANIC: Out of mem!
C file src/memory.c, line 93
Parrot file (not available), line (not available)

I believe that I'd done a proper clean. Anyhow, I did a fresh checkout (which I rarely do) and that version didn't exhibit the problem.

If this turns out to be unrelated, just ignore!

Nick

Reply via email to