Skip to main content
Filter by
Sorted by
Tagged with
0 votes
0 answers
39 views

So i have a very relatively simple java application spring 2.3.7 on java 8 that microservice simply calls DB to save update or retrive base64 image string thats all. So i have deployed that in my ...
Syed_Furqhan007's user avatar
0 votes
1 answer
181 views

Similar question to this: java.lang.OutOfMemoryError: Compressed class space however my application is not exiting with an OutOfMemory error, and I'm interested in the expected usage of JVM compressed ...
robjwilkins's user avatar
  • 5,712
0 votes
1 answer
123 views

I have an instance of WSO2 APIM version 4.2.0 installed on an Oracle Linux 8 server which has 16gb of ram. The problem noticed is that the more time passes, the more the consumption of physical memory ...
hibernate fariala's user avatar
0 votes
0 answers
92 views

I've upgraded a Java microservice from Java 8 to Java 17, and I am encountering an "Out of Memory" (OOM) issue when processing bulk records. In heap dumps, the suspect is identified as com....
sourabh's user avatar
  • 11
1 vote
1 answer
732 views

I've upgraded a Java microservice from Java 8 to Java 17, and I'm encountering an Out of Memory (OOM) issue when processing bulk records. In heap dumps, the suspect is identified as java.lang.ref....
sourabh's user avatar
  • 11
1 vote
0 answers
97 views

After running the following program, the memory occupied by the Java process increased from 83M to 99M. Through monitoring, it was found that the increase was almost 1.4M several times (approximately ...
rocco's user avatar
  • 84
2 votes
0 answers
848 views

In our application we are using Spring Framework v2.3.3.RELEASE. The application acts as a GRPC Server and responds to GRPC Requests sent from another application (It's micro-service architecture). ...
Viv_Cham's user avatar
0 votes
0 answers
765 views

When I open intellij IDE with my spring boot app, I can see too much cpu and memory usage of my system. Facing this problem from last 1-1.5 month. Earlier, it was running smoothly. I am using the ...
user404's user avatar
  • 2,046
3 votes
1 answer
2k views

I found out that LazyList generates memory leaks. When I scroll down to the bottom of the list memory usage by my app increases by ~3MB. After I scroll up and usage also increases by ~3MB. Memory ...
Renattele Renattele's user avatar
0 votes
1 answer
1k views

ADDENDUM TO ADDENDUM: I turned Garbage collection logging on and now I get lines and lines of the same error. First the log shows my looped dbms.clearQueryCaches() in a series of 50 or so. 2022-03-21 ...
Stephanie's user avatar
  • 166
0 votes
1 answer
497 views

What I mean to say through the post title is - doing this: public static void makeNewObjectAndDoTask() { new SomeClass().doYourTask(); } I have myself written such code in languages such Java and ...
Brahvim's user avatar
  • 21
2 votes
1 answer
347 views

How much memory takes TreeMap<Long, Long> collection filled with 1000 (all unique) key-value pairs? Yes I can just watch memory dump, but need to know granularly why exactly: Long = n bytes ...
J.J. Beam's user avatar
  • 3,171
0 votes
0 answers
1k views

InstagramActivity is First Activity which will visible to user after splashscreen. GetDataFromServer is a singleton which i use for network call using retrofit. I couldn't understand mLoadedApk and ...
Roshan Kumar Nayak.'s user avatar
4 votes
1 answer
2k views

In most of the research about the memory leak caused by finalizer object, either in our code or in a dependent library, one should be overriding the finalize method. But in my whole project its ...
arqam's user avatar
  • 3,809
5 votes
0 answers
599 views

We are facing a strange memory leak issue in our application. GC configuration: ParNew + CMS A certain type of Objects are getting promoted to old generation too early and causing severe fragmentation ...
vkm's user avatar
  • 111
1 vote
1 answer
652 views

Our production server went OOM because permgen is full. Using jmap -permstat to check the permgen area, we found there were many classes loaded by com.sun.xml.ws.client.WSSServiceDelegatingLoader. The ...
Xinli Niu's user avatar
  • 511
4 votes
1 answer
2k views

I'm using LeakCanary but the heap analysis result doesn't provide enough information to detect any leak. It only mentions that the activity is leaking. D/LeakCanary: ​ =============================...
Shivam Pokhriyal's user avatar
0 votes
1 answer
133 views

I making share screen program.(client) Sadly, I found out that a memory leak was happening. To check for memory leaks, I've simplified it to: import java.awt.*; import java.awt.image.BufferedImage; ...
hanzi programmer KR's user avatar
3 votes
0 answers
52 views

I have a really big hprof file about 21G which located on a remote server with 32G memory, and I would like to understand what happened in my program. However, on my local desktop I have only 8G ...
Nikita Duginets's user avatar
1 vote
2 answers
2k views

We are trying to use Tesseract with Tess4j for OCR text extraction. On continuous use of tesseract over a period, we notice the RAM used by the application getting increased gradually, During this ...
aravinth's user avatar
  • 436
0 votes
0 answers
522 views

I am trying to track down a memory leak in the Java code shown below. This code throws OutOfMemoryError: heap space while running with a max heap size of 2 GB after handling only a few file updates. ...
Boon's user avatar
  • 1,173
2 votes
2 answers
15k views

We have 10 spring boot applications which are running on ubuntu18 with 8GB RAM and Java 11. We are running the apps using java garbage collector -XX:+UseSerialGC without restricting the heap space. ...
Krish's user avatar
  • 2,062
11 votes
1 answer
9k views

Can somebody help me understand if what I see is deliberate, correct behaviour or some kind of leak in Java11? Let's take a stupid-simple hello world app: package com.example; public class ...
tporeba's user avatar
  • 967
0 votes
1 answer
7k views

I have a class,which i use input stream and then conver it to string. Also i have a Junit test,where i get the exception " java.lang.OutOfMemoryError: Java heap space",I know that the problem is that ...
Fhil's user avatar
  • 3
0 votes
0 answers
484 views

Deployed a webservice on tomcat 7.0.99 Tomcat is running on MacOS, We are doing multiple web service calls to the service deployed on Tomcat. After completion of first service call the tomcat is ...
New Person's user avatar
1 vote
1 answer
2k views

I'm working on a Java Webapp that's running on a 1GB memory server with Tomcat. Lately we've noticed that the app is eating up most of the memory on that server - around 83%. I have profiled the ...
TeabagD's user avatar
  • 701
0 votes
1 answer
482 views

We have some rest services which is going out of memory frequently. I was doing code review and saw heavy usage of static methods. Can that be an issue ? Java 8, spring-boot 2.1.5 How do I debug this ...
jimy page's user avatar
0 votes
1 answer
698 views

I want to install and configure spring framework in eclipse. However, the installation process is failing. The operating system of the PC I use is Window7, 32bit. RAM is 2GB. I ran Eclipse (Version: ...
전철우's user avatar
-2 votes
2 answers
371 views

I want to know what will happen if I initialize an already initialized Class object in Java. Does the garbage collector destroys the object and free the memory?. Example code: ........ Object target ...
Bharath Sendhurpandi's user avatar
3 votes
1 answer
1k views

I have a java application which seems to allocate more and more memory from OS(but the heap size isn't growing at all!) It's an application communicating with a PLC so it needs quite some CPU. for ...
user2071938's user avatar
  • 2,285
0 votes
0 answers
55 views

I have captured the heap dump using the Android Studio Memory Profiler. I know how to check the Leak Activity using the heap dump. I want to check memory leak Not in Activity only as my app contains ...
Hey You's user avatar
  • 313
0 votes
0 answers
902 views

I am using openEdgar to parse SEC filings data and it uses Apache Tika to parse HTML, XML and LBRL content. I am running this on a box with 4G of memory and it keeps dying on me. I ended up starting ...
abolotnov's user avatar
  • 4,350
0 votes
1 answer
59 views

I understand that it helps creates single copy of class. I would like to know: What is the harm in creating multiple such instances of a class ? since garbage collection will take care of it. Is it ...
Anshul Saraswat Kaul's user avatar
0 votes
1 answer
949 views

Using the longest-lived context instead of Activity context should be a good practice to avoid memory leaks when configuration (screen orientation, default language) change. However, I think these ...
Dang Phuoc's user avatar
0 votes
1 answer
126 views

I've created an interface which holds a reference to an interfaces instantiated from an activity. This is the interface: public interface Calback { void fun(); } This is the activity which ...
Myke Dev's user avatar
0 votes
1 answer
2k views

Im an amateur programming ambitious to learn, but I've encountered a new type of problem that I don't even know where to begin to look - memory leaks in java. I've searched around and can't really ...
Martin Nilsson's user avatar
0 votes
1 answer
1k views

I have a serious memory leak when using pmd in eclipse on windows. I import a bunch of large maven projects. After m2e and compilation PMD starts up. It then eventually runs in about 8-10 eclipse job ...
stephan f's user avatar
  • 622
3 votes
1 answer
275 views

I encountered a reported memory leak in my Android app, after some investigation I pretty much find out where the leak is, here is the simplified code: public class LeakTracker { public static ...
darklord's user avatar
  • 5,187
0 votes
1 answer
423 views

I could use some help debugging a memory (leak?) issue. I've made a simple example below. There's some kind of bug in Javafx related to TextFields. The below code adds 2000 TextFields to a FlowPane ...
Simon's user avatar
  • 87
1 vote
0 answers
183 views

Background We are developing a Java service in Heroku with 1 dyno, which is using Memcached cloud. Issue Meanwhile we were developing and testing it, It was working fine. However, when we decided ...
Manwelanza's user avatar
2 votes
1 answer
889 views

I made the mistake of storing a password as a String in a Java program. I would like to prevent this String password from appearing in a heap dump/memory dump. Ideally, I should have used a char[] and ...
MediumOne's user avatar
  • 824
1 vote
0 answers
1k views

I have an application with a network of Fluxes processing some data. The data to be processed is received via web sockets. Except from the end of the processing pipeline where some aggregated values ...
deamon's user avatar
  • 93.1k
1 vote
0 answers
225 views

I am experiencing memory leaks with TreeTableView when TableMenu is enabled. Steps to reproduce is simple. I have done some research why it's happening but will leave it to experts here to throw some ...
user avatar
2 votes
1 answer
5k views

I am running around 18.000 spring jobs in parallel, each with one step. Each step consists of reading from a file, converting and manipulating those values and writing them to a Mongo and MySql ...
skylla's user avatar
  • 464
0 votes
1 answer
1k views

From flat file which contain data line by line, my task to be verify data from DB not present I am trying to verify Using Java first I have inserted flat file data into HashSet1 and another Hashset2 ...
rahul sharma's user avatar
0 votes
0 answers
206 views

Error- Jenkins Maven Unit Test cases jobs are getting stuck with this below error message for a Multi module project. We have increased the Memory value as well. Jobs getting executed continuously ...
asur's user avatar
  • 1,879
2 votes
0 answers
171 views

I observed memory leak inside a system server when we use the Google search widget on home screen. The Google widget is updating on every click on home button and holding muliple reference of class ...
Ajinath Kumbhar's user avatar
1 vote
0 answers
392 views

I am writing an android application in which I want to switch between two gifs, when user click the gif image. I have written the below code to switch between gifs. @Override protected void ...
Ankit Verma's user avatar
0 votes
0 answers
538 views

I'm getting an error "java.lang.OutOfMemoryError: PermGen space" very often (1-2 times per week) and I cannot localize the problem. Thread dump shows no blocked processes. And a heap dump cannot be ...
Stargazer's user avatar
  • 498
4 votes
2 answers
7k views

We currently have some trouble on a productive server as it consumes way too much memory. One of the leaks could come from the jersey client. I found the following two other questions and a how to: ...
Thomas's user avatar
  • 7,290