--- Nicolas Cannasse <[EMAIL PROTECTED]> wrote:

> >> Could you try to run the command inside gdb then send me the backtrace ?
> > 
> > neko used over 2G process memory (on my 512M machine) under gdb, 
> > and took 20 minutes to produce this stack trace. 
> > 
> > Is it typical for neko compilations to use that much RAM, or is it a
> > symptom of a problem? Can neko be run in interpreted mode (without JIT) 
> > or be forced to collect garbage more frequently?
> 
> This is a symptom of the problem. Looks like the neko_module_jit method 
> start an infinite loop that allocates memory when compiled with -O3 on 
> your OS. Could you try to investigate the sources in neko/vm/jit_x86.c 
> and check what is going wrong ?

You can reproduce this neko 1.6.0 build segfault by compiling with gcc 4.1.1 
using -O1 or higher and gc6.8 or gc-7.0. I don't know if the problem is with 
the jit or the gc.

gcc 4.2.1 is fine on any optimization level.

Does Neko have an interpreted (non-jit) mode?


       
____________________________________________________________________________________
Be a better Heartthrob. Get better relationship answers from someone who knows. 
Yahoo! Answers - Check it out. 
http://answers.yahoo.com/dir/?link=list&sid=396545433

-- 
Neko : One VM to run them all
(http://nekovm.org)

Reply via email to