Skip to main content
Filter by
Sorted by
Tagged with
2 votes
1 answer
178 views

My function contain a memory leak, probably related to a failing malloc situation. After extensive research and adding frees, I still can't find the edge case where the memory leak occurs. Below is ...
Simeon Sutarmin's user avatar
3 votes
0 answers
135 views

I used the example from https://github.com/kivy/kivy/blob/master/examples/widgets/recycleview/basic_data.py and modified it only to provide some garbage collector stats. What I see is that objects are ...
Eugene B's user avatar
1 vote
0 answers
76 views

Environment Flask: 2.0.3 Flask-SQLAlchemy: 2.5.1 SQLAlchemy: 1.4.41 Deployment: Gunicorn with thread workers Traffic: ~4 RPS in production Observed Issue: Memory grows from 35-40% to 90% over 30 ...
Vaibhav Yadav's user avatar
1313 votes
50 answers
711k views

What is this error, and why does it happen? 05-17 18:24:57.069: ERROR/WindowManager(18850): Activity com.mypkg.myP has leaked window com.android.internal.policy.impl.PhoneWindow$DecorView@44c46ff0 ...
Pentium10's user avatar
  • 209k
0 votes
0 answers
35 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
1239 votes
34 answers
1.1m views

Recently I ran into this error in my web application: java.lang.OutOfMemoryError: PermGen space It's a typical Hibernate/JPA + IceFaces/JSF application running on Tomcat 6 and JDK 1.6. Apparently ...
-3 votes
1 answer
36 views

I tried to render charts using highcharts, but have been observing non js memory increase, when i was updating my charts continuously and calling redraw API. i used below apis series.setData(data, ...
eniya muthusamy's user avatar
0 votes
0 answers
60 views

I’m trying to understand the expected memory behavior of a Python service (FastAPI in my case, but the question is more general). Scenario: Baseline memory: service starts around ~600 MB. During load: ...
Nikhil Mugganawar's user avatar
1 vote
0 answers
59 views

I'm running a minimal Python Flask app with one API endpoint which make a simple call to retrieve data from the a Cassandra Datastax DB inside a for loop. # Day-2-Day Power @app.route("/d2d_new_2/...
R13mus's user avatar
  • 886
377 votes
15 answers
155k views

Do you need to unsubscribe from Angular 2 http calls to prevent memory leak? fetchFilm(index) { var sub = this._http.get(`http://example.com`) .map(result => result.json()) ...
born2net's user avatar
  • 25.1k
1 vote
1 answer
166 views

I have encountered a memory management problem in a Spring Boot application, and would like to get advice on how to properly clean up direct memory. Configuration: JDK: OpenJDK Runtime Environment (...
Dimon_yarik's user avatar
0 votes
0 answers
128 views

In a main.py file I have following code: import time from v1 import log, ServiceLogger from logging.handlers import MemoryHandler class Service: h = MemoryHandler(1000) id = None log = ...
Denis Prot's user avatar
238 votes
49 answers
40k views

Is it ever acceptable to have a memory leak in your C or C++ application? What if you allocate some memory and use it until the very last line of code in your application (for example, a global object'...
543 votes
16 answers
906k views

What is a StackOverflowError, what causes it, and how should I deal with them?
Ziggy's user avatar
  • 22.5k
14 votes
4 answers
2k views

When trying to open the "Save As" dialog to save any file in Visual Studio Code on KDE (Ubuntu 24.04, the dialog does not open, and a separate process "kdialog" starts using 100% ...
Nicola Lissandrini's user avatar
2 votes
1 answer
122 views

In Excel, I am attempting to copy/paste a large range of data (~22,000 rows x 36 columns). My Excel is crashing when I just try to copy/paste manually, so I created a macro to move the data using ...
Zach Engel's user avatar
1 vote
1 answer
212 views

My team has designed an antibot for a project and now I am testing its vulnerabilities. I have created a antibot solver bypass using some python and javascript. I am running into a super weird run ...
Ahmed Zaidan's user avatar
1 vote
0 answers
281 views

I'm on MacOS 12.7.6, with R 4.4.0 and Rstudio 2023.06.1+524. I've had this error pop out from time to time. I have searched it and all solutions are about setting R_MAX_SIZE to a number much larger ...
dkysh's user avatar
  • 91
2 votes
1 answer
126 views

I have an example Python program that sets the text of a tkinter label, and the use of Label.config(text=string) is leaking memory. Other techniques for setting the text don't. Is something wrong here?...
KeithS's user avatar
  • 143
7 votes
2 answers
246 views

I have code which embeds a tcl interpreter in my c++ program. When running with valgrind it shows a bunch of possible memory leaks from the TCL interpreter. I am using Tcl_DeleteInterp(interp); to ...
Zachary Ellis's user avatar
1 vote
1 answer
82 views

These are my codes: for(int i = 0; i < 100; i++){ cudaStream_t stream_default; cudaError_t err = cudaStreamCreateWithFlags(&stream_default, cudaStreamDefault); cudaStreamDestory(...
张子阳's user avatar
1 vote
1 answer
63 views

I'm running a Python script on a VPS in a continuous loop. The script fetches stock data with yfinance, then trains a new TensorFlow/Keras model for each stock. Problem: The process's RAM usage ...
teamPT's user avatar
  • 11
317 votes
8 answers
148k views

I'm developing an Android 2.3.3 application with a service. I have this inside that service to communicate with Main activity: public class UDPListenerService extends Service { private static ...
VansFannel's user avatar
  • 46.2k
3 votes
1 answer
160 views

This piece of code creates a memory leak. I'm not sure why. This code is shortedned from a longer method that polls a redis list for messages (which returns either a message or null immidiately if ...
DebD's user avatar
  • 464
2 votes
1 answer
115 views

When opening and then closing a mat-dialog, the elements linked to the mat-dialog and its contents remain in the DOM as detached elements in memory. Each time a mat-dialog is opened/closed, the issue ...
Chrisurfeur's user avatar

1
2 3 4 5
410