Hello, I'm trying to include my own js library inside v8. So i edited tools/gyp/v8.gyp and added my js file path in "library_files". Now i try to compile with clang by this command,
make native -j 4 library=shared werror=no And i got this, ACTION tools_gyp_v8_gyp_v8_snapshot_target_run_mksnapshot /home/......../v8-3.18.1/out/native/obj.target/v8_snapshot/geni/snapshot.cc # # Fatal error in ../src/serialize.cc, line 1642 # CHECK(space >= 0 && space < kNumberOfSpaces) failed # ==== C stack trace =============================== 1: ?? 2: ?? 3: ?? 4: ?? 5: ?? 6: ?? 7: ?? 8: __libc_start_main 9: ?? Trace/breakpoint trap (core dumped) My js file is 7.4MB is size it has a very big json data. How to overcome this error ? seems like its hitting memory limit somewhere, something like that ? Any help would be highly appreciated. Regards, Sarim Khan -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
