Memory leak with JavaObject
I use library log4j for logging, but I have the problem with memory leak.
Memory increase every time when we call next code
Object jog = JavaObject.InvokeStaticMethod("org.apache.logging.log4j.LogManager", "getRootLogger", {}) //it calls one time with initialization
log.InvokeMethod("info", {"some msg"}) //it calls every time when we logging
I checked other lib like com.google.gson.GsonBuilder but situation is the same. How to solve this problem, why javaobject don't clear old objects with destructor.
Tagged:
0
Comments
-
We are also having the same issue, did you receive any update on this topic?
Thank you
0 -
have you tried the standard File READ / WRITE - https://knowledge.opentext.com/knowledge/llisapi.dll/fetch/-15106263/15106294/15106295/16376487/62426572/62359672/documentation/file.html#cm_file_read
0
Categories
- All Categories
- 122 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 56 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Cloud Fax and Notifications
- 84 Digital Asset Management
- 9.4K Documentum
- 31 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 7 XM Fax
- Follow Categories