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
- 123 Developer Announcements
- 54 Articles
- 151 General Questions
- 148 Thrust Services
- 57 OpenText Hackathon
- 37 Developer Tools
- 20.6K Analytics
- 4.2K AppWorks
- 9K Extended ECM
- 918 Core Messaging
- 84 Digital Asset Management
- 9.4K Documentum
- 32 eDOCS
- 186 Exstream
- 39.8K TeamSite
- 1.7K Web Experience Management
- 8 XM Fax
- Follow Categories