Re: [v8-users] Re: Running allocation failed - out of memory at 8MB

2014-05-01 Thread Flying Jester
On Sunday, April 20, 2014 4:37:28 AM UTC-8, Jos Kuijpers wrote: Found it: -Dv8_enable_gdbjit=1 on GYP_DEFINES. I missed it in the manual on google code. The Wiki page says it only works on Linux btw. is that out-dated?(like everything else?) It most definitely is out of date. I am

Re: [v8-users] Re: Running allocation failed - out of memory at 8MB

2014-04-20 Thread Ben Noordhuis
On Sat, Apr 19, 2014 at 11:58 PM, Jos Kuijpers j...@kuijpersvof.nl wrote: Is there anything else I can try, or that could be going on? Any way for me to provide to you more information? There are a number of ways to go about it but my usual approach is to compile a debug build (`make

Re: [v8-users] Re: Running allocation failed - out of memory at 8MB

2014-04-20 Thread Jos Kuijpers
This might be a stupid question, but how to do the gdbjit=on part for xcodebuild? :) On Sunday, April 20, 2014 11:18:14 AM UTC+2, Ben Noordhuis wrote: On Sat, Apr 19, 2014 at 11:58 PM, Jos Kuijpers j...@kuijpersvof.nljavascript: wrote: Is there anything else I can try, or that could be

Re: [v8-users] Re: Running allocation failed - out of memory at 8MB

2014-04-20 Thread Ben Noordhuis
On Sun, Apr 20, 2014 at 12:02 PM, Jos Kuijpers j...@kuijpersvof.nl wrote: This might be a stupid question, but how to do the gdbjit=on part for xcodebuild? :) Not sure but you can always hack the appropriate .gypi file and set v8_enable_gdbjit to 1. -- -- v8-users mailing list

Re: [v8-users] Re: Running allocation failed - out of memory at 8MB

2014-04-20 Thread Jos Kuijpers
Found it: -Dv8_enable_gdbjit=1 on GYP_DEFINES. I missed it in the manual on google code. The Wiki page says it only works on Linux btw. is that out-dated?(like everything else?) Anyways, I recompiled, made it work, set a breakpoint. Somehow I get now a different error: # Fatal error in

Re: [v8-users] Re: Running allocation failed - out of memory at 8MB

2014-04-20 Thread Jos Kuijpers
So I found the problem. I store a LocalValue in my L8Value wrapper class, and then stored the L8Value somewhere (strong). In some code, I cached L8Values. The v8 values it held however already expired because no strong holder existed. I now made the L8Value handle to the V8 Value strong using

[v8-users] Re: Running allocation failed - out of memory at 8MB

2014-04-19 Thread Jos Kuijpers
Is there anything else I can try, or that could be going on? Any way for me to provide to you more information? On Saturday, April 19, 2014 2:59:02 PM UTC+2, Jos Kuijpers wrote: Hi All, Yesterday I implemented a JS module loader in my system when I ran into the out of memory message: