Skip to content

Malloc problem #71

@gianelle

Description

@gianelle

Hi,
I'm using ILCSoft for muoncollider simulation/reconstruction. At the end of a long reconstruction
I have this message (activating the VERBOSE flag in lcio):


A runtime error occured - (uncaught exception):
lcio::IOException: [SIOWriter::writeEvent] couldn't write event record to stream: Output_REC_000_slcio0
Marlin will have to be terminated, sorry.


And in the log file:

[ VERBOSE "Output_REC"] SIO: [Output_REC_000_slcio0/LCEvent/] Allocated a 536870912(0x20000000) byte buffer
[ VERBOSE "Output_REC"] SIO: [Output_REC_000_slcio0/LCEvent/] Allocated a 1073741824(0x40000000) byte buffer
[ VERBOSE "Output_REC"] SIO: [Output_REC_000_slcio0/LCEvent/] Buffer allocation failed

So it seems that it is not able to allocate 2Gb of buffer.

I have tried to play with the ulimit command:

max memory size (kbytes, -m) unlimited
stack size (kbytes, -s) 2202000
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

But it doesn't help.

Do you have any suggestions?

  • OS version: CentOS 7.7.1908
  • Compiler version: gcc 6.3.1 20170216
  • Package version: HEAD

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions