Quantcast

memory alloc failed?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

memory alloc failed?

Leon-32
hi all:
     I have a multi-process project, it create and destroy 500 process per second, and maintain 3000 process, the beam use 900M memory to 1.2G, after running 20 hours, it was restarted by kernel, and i found error like this:
__alloc_pages: 0-order allocation failed (gfp=0x20/1)
   
    so, anyone can tell me some information or some tips? May I use garbage_collect() before every process exit to force free memory?
 
    great thanks

_______________________________________________
erlang-questions mailing list
[hidden email]
http://www.erlang.org/mailman/listinfo/erlang-questions
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate
star

Re: memory alloc failed?

Lev Walkin
leon zhao wrote:
> hi all:
>      I have a multi-process project, it create and destroy 500 process
> per second, and maintain 3000 process, the beam use 900M memory to 1.2G,
> after running 20 hours, it was restarted by kernel, and i found error
> like this:
> __alloc_pages: 0-order allocation failed (gfp=0x20/1)
>    
>     so, anyone can tell me some information or some tips? May I use
> garbage_collect() before every process exit to force free memory?


Whats your runtime version?

--
Lev Walkin
[hidden email]
_______________________________________________
erlang-questions mailing list
[hidden email]
http://www.erlang.org/mailman/listinfo/erlang-questions
Loading...