Skip to content

Increase default Docker JVM max heap from 1024m to 4096m#714

Open
anasomar1 wants to merge 1 commit intomoqui:masterfrom
anasomar1:heap-memory
Open

Increase default Docker JVM max heap from 1024m to 4096m#714
anasomar1 wants to merge 1 commit intomoqui:masterfrom
anasomar1:heap-memory

Conversation

@anasomar1
Copy link
Copy Markdown

 Production workloads with large data volumes cause OutOfMemoryError crashes
 with the current 1GB max heap default in Docker Compose templates.

 Specific failure scenarios observed in production:
 - Indexing a data document with around 34,000 records and multiple fields
 - Running the scheduled job "clean_ArtifactData_daily" to clean millions of artifact hits was crashing when I restored production data on another server

 Both operations exhausted heap space and crashed the JVM with:
     java.lang.OutOfMemoryError: Java heap space

 Bumping the -Xmx default to 4096m resolved these issues without code changes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant