Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CT scan indexing cause OOM #707

Open
beavermml opened this issue Dec 3, 2024 · 4 comments
Open

CT scan indexing cause OOM #707

beavermml opened this issue Dec 3, 2024 · 4 comments

Comments

@beavermml
Copy link

2024-12-03 15:10:55 | WARN [qtp788316339-2235] (ServletHandler.java:540) - Error for /searchDIM
java.lang.OutOfMemoryError: Java heap space

this always happen when recieving CT scan images ( many images )

but when using htop to monitor, server still got headrooms
( 4Gb use out of 8gb RAM and 400mb of 2GB swap use )

i notice this will happened when approacing 3GB memory usage for dicoogle..

is this the classic 32bit OOM?

@beavermml
Copy link
Author

using openJDK 11 64bit..

@beavermml
Copy link
Author

and Dicoogle spike the CPU 100% at that time.. i need to manually restart the process..

@Enet4
Copy link
Collaborator

Enet4 commented Dec 3, 2024

An error on /searchDIM suggests that the problem is with the querying rather than the indexing. It may help us understand the situation if you provide the following details:

  • How many studies/series were sent to the archive?
  • How many DICOM files were there in total?
  • How large in bytes is each file on average?
  • What is the SOP class UID?
  • What is the Transfer Syntax UID?
  • Were any extra JVM properties set? Have you tried setting -Xmx manually? (e.g. -Xmx4G)

@beavermml
Copy link
Author

/searchDIM is because my user is searching result and the server hang ( no result ).. so the log is just coincident to be there

the ctscan sending 1600 images in total
400kbs avg per file

now im trying to set -Xmx4g in the DicoogleServer.sh file to test

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants