Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Major
-
Resolution: Won't Fix
-
Affects Version/s: None
-
Fix Version/s: None
-
Component/s: Java Integration
-
Labels:None
-
Number of attachments :
Description
We had to switch the ObjectProxyCache from using weakrefs to softrefs, because softrefs weren't soft enough and the cache ended up eating too much memory. But weakrefs are likely to cause cache entries to be collected before they're ever used, so the new cache isn't helping much.
We need a solution somewhere in the middle so the cache is useful but doesn't bloat to an unreasonable size.
Issue Links
- is related to
-
JRUBY-1955
Lucene index search causes major memory bloat + slowdown in 1.1RC1, but not 1.1b1
-
- relates to
-
JRUBY-2904
Need a better solution for tracking Java object wrappers
-
This is getting bumped to post 1.1 since it works ok now (maybe not great, but ok) and there's a big Java integration reboot coming.