Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. linux c++ use V8 crash

linux c++ use V8 crash

Scheduled Pinned Locked Moved C / C++ / MFC
c++linuxperformancehelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    kxjhcs
    wrote on last edited by
    #1

    linux c++ use V8 crash, error: Fatal error in CALL_AND_RETRY_LAST Allocation failed - proces out of memory; use: CreateParams params; params.contraints.ConfigureDefaults(1000*1024*1024, 0, 1); Isolate* New(params)

    L J 2 Replies Last reply
    0
    • K kxjhcs

      linux c++ use V8 crash, error: Fatal error in CALL_AND_RETRY_LAST Allocation failed - proces out of memory; use: CreateParams params; params.contraints.ConfigureDefaults(1000*1024*1024, 0, 1); Isolate* New(params)

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      At a guess there is a bug in your program, but without more detail and a better explanation it is impossible to suggest anything more.

      1 Reply Last reply
      0
      • K kxjhcs

        linux c++ use V8 crash, error: Fatal error in CALL_AND_RETRY_LAST Allocation failed - proces out of memory; use: CreateParams params; params.contraints.ConfigureDefaults(1000*1024*1024, 0, 1); Isolate* New(params)

        J Offline
        J Offline
        Jochen Arndt
        wrote on last edited by
        #3

        I don't know V8. But it seems that you want to allocate about 1 GB (1000 * 1024 * 1024) GB of physical memory and this amount is not available. This may be due to an internal V8 limit (a quick research found the --max-old-space-size command line flag) or your system has not enough remaining free physical memory.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups