Crash - Out of memory

  • Hello,


    One of my Conquest server keeps crashing with the following lines in pacstrouble.log :


    Quote

    20141205 15:29:14 ***VR:ReAlloc out of memory allocating 429716448 bytes


    20141205 15:29:14 ***A fatal error occurred (out of memory) - closing server


    It happened during transfer :

    Quote

    [ECHOCQ] 20141205 15:29:14 Sending file : E:\echo\base\L11-11742^CN^KEZIA^CHEMIN\1.2.392.200039.105.2.682.10.20141205.113956.93_1417775937.dcm
    [ECHOCQ] 20141205 15:29:14 ***VR:ReAlloc out of memory allocating 429716448 bytes


    [ECHOCQ] 20141205 15:29:14 ***A fatal error occurred (out of memory) - closing server
    20141208 10:13:16 Started zip and cleanup thread


    The server can operate perfectly during several days and then crash. It restarts but after several times it remains down, despite i set the "keep alive" option and the service set to "always restart" in Windows settings.


    I updated to 1.4.17d but no change, i also tried to rebuild database, same result.
    My server has 8 GB RAM installed and it should be enough i think. The pagefile is dynamically sized.
    Any idea ?


    Many thanks.

  • Thank you for your answer Marcel.
    I use a Windows 2003 Server R2, 32bits indeed.
    Guess i have to plan to migrate on a newer x64 system.


    Just to be sure : Which size is very big according to your mind ?

  • Hi,


    while transferring the data may be in memory twice, the entire memory available is 2 GB per process, and there will be some fragmentation meaning that only smaller holes are available. So 400 MB is very big.


    Marcel

  • Hi Marcel,


    Indeed, users send some video since a month, so the cause is clearly identified now.
    Do you think it will be fine if i upgrade my server with dgate64, and keep the same hardware, 8 GB of RAM ?
    Or should i prevent users to send such sized video ?


    Many thanks,

  • Hi Marcel,


    I've just made a test on a Windows 2012 server (64bits):
    The server can handle big files without crashing but the transfer fails because of the client (i think KPACS made a kind of timeout on large file transfer) on a study which contains a 1.5 GB file (!)
    We can send such files to Conquest whitout any problem (even with dgate 32bits), but client can not retrieive without make Conquest to crash.
    Since the 64 bits dgate does not crash i will consider to migrate my server to a 64 bits Windows server, and recommend the users not to send such files to the PACS.
    I'll post here to keep you inform.


    Again, thank you for your help Marcel.

  • I'm already using uj compression, but it's still the same :

    Quote

    20141210 11:35:26 ***[DecompressJPEGL]: Could not allocate decompressed image memory.
    20141210 11:35:26 ***[DecompressImage]: JPEG library decompression error


    The good thing is that the server does not seem to crash now.


    That said, migrate on a 64bits OS appears to be a good option, as Microsoft will also stop support for Windows 2003 server soon.

  • Hi Marcel,


    I migrated on a windows 2012 server 64 Bits, updated Conquest to last version and it runs flawlessly since a month.
    Some old clients like Kpacs are not able to retrieve large series but the server is not affected at all.


    So, Marcel, i really want to thank you (again !) for the help you provide to all of us ! :)

Participate now!

Don’t have an account yet? Register yourself now and be a part of our community!