apache / apache/uima-uimaj

Possible UIMA Annotation Editor memory leak

Open
#366 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
71
Forks
39
PR merge metrics
No merged PRs in 30d

Description

**Describe the bug**
When opening and closing a CAS with UIMA Annotation Editor in eclipse, the memory consumption keeps piling up, even if running GC.

**To Reproduce**
Open big CAS, close it, run GC, observe memory.

**Expected behavior**
No memory leak.

**Please complete the following information:**
![image](https://github.com/apache/uima-uimaj/assets/11959024/a8821477-fa51-4d03-89ee-2128fa76d59d)
![image](https://github.com/apache/uima-uimaj/assets/11959024/c1fbada9-a0c0-4009-b9e3-70b94a41daed)
- OS: Linux

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the leak in the UIMA Annotation Editor with a large CAS on Linux, closing it and running GC while observing memory. Trace the editor's CAS open and close lifecycle to identify retained objects; done means repeated open/close cycles no longer show memory accumulating after GC.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
desktop
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.