eclipse-jdt / eclipse-jdt/eclipse.jdt.core

OOME using TypeHierarchy

Open
#1,619 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
237
Forks
195
Avg merge
1d 12h
Merged PRs (30d)
47

Description

org.eclipse.jdt.internal.corext.util.SuperTypeHierarchyCache.fgHierarchyCache (CACHE_SIZE= 8) can cause a lot of memory allocated

screenshot from heapdump - 1GB introduced by the cache:
![image](https://github.com/eclipse-jdt/eclipse.jdt.core/assets/51790620/d8bd011b-1ae9-4ac7-9b98-083238319692)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.