[erlang-questions] Erlang shell crashes
Thu Oct 26 11:21:22 CEST 2006
>From the crash dump viewer, I have noticed that the stack+heap size and
message queue lenght are high for some processes.
controling_process Waiting 162446666 10946 380465
logwriter Garbing (limited info) 12549099 93416095 272345
Here, the *logwriter* uses ODBC connectivity and write the log to MS SQL DB.
All the other process in this application uses *logwriter *process to
On 10/26/06, Raimo Niskanen <> wrote:
> It seems your application has a process that is growing continously,
> and after 15 hours its attemt to allocate a 356 MByte heap failed
> due to insufficient memory.
> Your total allocated memory is 1060 MByte of which roughly 356 MByte
> should be the old heap of the offendng process, leaving 704 MByte
> for the rest of the beam emulator. That is also a large emulator.
> Is your application deliberately using lots of memory?
> You can use the crashdump_viewer to inspect the crashdump and find out
> more about the offending process. You can also use 'top' from another
> OS shell while your application runs to verify that the beam
> emulator is growing continously and slowly, that being a fatal problem.
> The beam emulator's OS process ID can be found with os:getpid().
> On Thu, Oct 26, 2006 at 11:39:13AM +0530, Surindar Sivanesan wrote:
> > Dear all,
> > I'm using erlang emulator version 5.4.3 for running an application that
> > to be run round the clock.
> > The application has ran perfectly for more than 15 hours.
> > Then the erlang shell is terminated abnormally.
> > The general information of the crash report is
> > Slogan eheap_alloc: Cannot allocate 373664380 bytes of memory (of type
> > "heap"). Node name '' Crashdump created on Thu Oct 26
> > 2006 System version Erlang (BEAM) emulator version 5.4.3 [threads:0]
> > Compiled
> > Wed Dec 15 12:59:41 2004 Memory allocated 1111921780 bytes Atoms 5644
> > Processes
> > 716 ETS tables 76 Funs 370
> > Whether any latest erlang version can solve this problem?
> > Is there any settings available to solve this problem?
> > I'm running erlang using werl.exe; Whether running erlang using erl.exewill
> > show any difference?
> > Please clarify...
> > Thanks in advance.
> > --
> > with regards,
> > S.Surindar
> > _______________________________________________
> > erlang-questions mailing list
> > http://www.erlang.org/mailman/listinfo/erlang-questions
> / Raimo Niskanen, Erlang/OTP, Ericsson AB
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the erlang-questions