itemId
stringlengths
1
34
itemType
stringclasses
4 values
site
stringclasses
4 values
scrapedAt
timestamp[s]date
2026-08-03 00:21:25
2026-08-03 04:01:45
tagName
stringlengths
1
34
questionCount
int64
2
2.53M
hasSynonyms
bool
2 classes
isModeratorOnly
bool
1 class
isRequired
bool
1 class
link
stringlengths
32
258
_run_id
stringclasses
57 values
_dataset_id
stringclasses
57 values
questionId
int64
1
80M
title
stringlengths
15
150
score
int64
-10
35.3k
viewCount
int64
6
16.7M
answerCount
int64
0
296
isAnswered
bool
2 classes
hasAcceptedAnswer
bool
2 classes
tags
listlengths
1
6
createdAt
timestamp[s]date
2008-08-01 04:18:04
2026-08-03 03:37:34
lastActivityAt
timestamp[s]date
2008-10-30 09:20:18
2026-08-03 01:36:51
ownerDisplayName
stringlengths
3
30
isClosed
bool
2 classes
contentLicense
stringclasses
3 values
acceptedAnswerId
int64
4
80M
ownerUserId
int64
1
33M
ownerReputation
int64
1
1.53M
userId
int64
13
33M
displayName
stringclasses
897 values
reputation
int64
1
1.53M
userType
stringclasses
3 values
lastAccessAt
timestamp[s]date
2011-01-10 08:55:57
2026-08-03 03:38:13
goldBadges
int64
0
895
silverBadges
int64
0
9.32k
bronzeBadges
int64
0
9.36k
reputationChangeMonth
int64
-40
1.43k
reputationChangeYear
int64
-1,146
11.7k
websiteUrl
stringclasses
302 values
location
stringclasses
279 values
acceptRate
int64
17
100
answerId
int64
1.13k
80M
isAccepted
bool
2 classes
bodyText
stringlengths
31
24.4k
bodyHtml
stringlengths
39
34.9k
answers
listlengths
1
3
answersFetched
int64
0
3
16194441
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/16194441/instruments-keep-telling-me-i-have-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
16,194,441
Instruments keep telling me I have memory leak
15
1,227
1
true
false
[ "c++", "qt", "memory-leaks" ]
2013-04-24T14:18:57
2013-05-18T23:22:11
StereoMatching
false
CC BY-SA 3.0
null
1,281,264
5,059
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
13534030
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/13534030/can-a-scheduled-future-cause-a-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
13,534,030
Can a scheduled future cause a memory leak?
15
11,669
3
true
true
[ "java", "android", "multithreading", "memory-leaks", "future" ]
2012-11-23T18:11:42
2014-07-16T18:36:30
gsgx
false
CC BY-SA 3.0
13,534,112
803,801
12,309
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
12996129
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/12996129/memory-leak-when-logging-complex-objects
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
12,996,129
Memory leak when logging complex objects
15
11,470
1
true
true
[ "javascript", "memory-leaks" ]
2012-10-21T08:17:06
2012-10-21T20:52:59
Kristof Degrave
false
CC BY-SA 3.0
13,001,962
1,580,962
4,208
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
10524107
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/10524107/can-delegates-cause-a-memory-leak-gc-totalmemorytrue-seems-to-indicate-so
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
10,524,107
Can delegates cause a memory leak? GC.TotalMemory(true) seems to indicate so
15
2,241
2
true
true
[ "c#", ".net", "memory-leaks", "delegates", "garbage-collection" ]
2012-05-09T21:09:13
2012-05-20T22:07:15
makerofthings7
false
CC BY-SA 3.0
10,524,338
328,397
61,839
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
9853850
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/9853850/knockoutjs-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
9,853,850
KnockoutJS Memory Leak
15
6,339
1
true
true
[ "memory-leaks", "knockout.js" ]
2012-03-24T17:27:33
2017-04-07T07:59:07
arb
false
CC BY-SA 3.0
9,969,819
1,011,616
7,894
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
9781611
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/9781611/how-to-find-memory-leak-in-java-using-jprofiler
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
9,781,611
How to find memory leak in java using JProfiler?
15
22,823
1
true
false
[ "java", "memory-management", "memory-leaks", "jprofiler" ]
2012-03-20T05:05:13
2017-08-30T14:34:32
Ronald Randon
false
CC BY-SA 3.0
null
1,280,039
1,201
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
9220849
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/9220849/serious-memory-leak-when-iteratively-parsing-xml-files
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
9,220,849
Serious Memory Leak When Iteratively Parsing XML Files
15
4,223
3
true
true
[ "r", "xml", "memory-leaks" ]
2012-02-10T00:01:10
2020-05-27T18:48:02
JankoWTF
false
CC BY-SA 4.0
9,223,309
989,691
13,160
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
9152908
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/9152908/node-js-memory-leak-hunting-without-v8-profiler
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
9,152,908
Node.js memory leak hunting without v8-profiler
15
9,309
1
true
true
[ "javascript", "memory", "node.js", "memory-leaks", "profiler" ]
2012-02-05T20:51:50
2014-03-31T02:58:32
Rob Evans
false
CC BY-SA 3.0
9,163,382
599,020
7,018
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
7125710
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/7125710/matplotlib-errors-result-in-a-memory-leak-how-can-i-free-up-that-memory
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
7,125,710
Matplotlib errors result in a memory leak. How can I free up that memory?
15
12,652
2
true
true
[ "python", "memory-leaks", "matplotlib" ]
2011-08-19T18:20:20
2012-09-06T12:44:40
sequoia
false
CC BY-SA 3.0
7,125,856
730,031
3,165
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5369623
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/5369623/tracing-memory-leak-in-ruby-on-rails-3-postgres-apache-passenger-application
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
5,369,623
Tracing memory leak in Ruby on Rails 3 / Postgres / Apache Passenger application
15
4,166
1
true
true
[ "ruby-on-rails-3", "postgresql", "memory-leaks", "rspec-rails" ]
2011-03-20T16:02:59
2011-04-05T19:50:01
Jens
false
CC BY-SA 2.5
5,369,922
495,776
1,387
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5000282
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/5000282/how-to-use-strtok-in-c-properly-so-there-is-no-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
5,000,282
How to use strtok in C properly so there is no memory leak?
15
20,634
5
true
true
[ "c", "malloc", "free", "strtok" ]
2011-02-15T05:42:40
2019-04-11T21:45:54
user246392
false
CC BY-SA 2.5
5,000,372
246,392
3,177
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2069314
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/2069314/memory-leak-when-using-wpf-webbrowser-control-in-multiple-windows
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
2,069,314
Memory leak when using WPF WebBrowser control in multiple windows
15
10,030
3
true
false
[ "c#", "wpf", "memory-leaks", "browser" ]
2010-01-15T03:31:47
2021-08-03T15:28:07
jeffora
false
CC BY-SA 2.5
null
172,905
4,229
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1463711
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/1463711/how-to-detect-where-a-memory-leak-is
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
1,463,711
How to detect where a Memory Leak is?
15
14,015
12
true
true
[ "c#", ".net", "memory-leaks" ]
2009-09-23T02:44:51
2012-06-28T15:45:03
Boone
false
CC BY-SA 2.5
1,463,723
177,537
1,052
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
76585648
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/76585648/memory-leak-in-react-navigation-on-android
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
76,585,648
Memory Leak in React Navigation on Android
14
2,534
3
true
false
[ "android", "react-native", "react-navigation", "react-native-reanimated", "react-native-screens" ]
2023-06-30T02:26:16
2023-07-08T13:54:09
Ahmed Imam
false
CC BY-SA 4.0
null
6,407,088
1,368
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
56513495
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/56513495/memory-leak-in-tensorflow-js-how-to-clean-up-unused-tensors
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
56,513,495
Memory leak in Tensorflow.js: How to clean up unused tensors?
14
8,092
2
true
true
[ "javascript", "node.js", "machine-learning", "memory-leaks", "tensorflow.js" ]
2019-06-09T09:35:27
2020-01-27T15:47:23
Thomas Dondorf
false
CC BY-SA 4.0
59,934,467
5,627,599
25,478
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
53187305
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/53187305/ios-12-memory-leak-wkwebview-and-uiwebview
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
53,187,305
iOS 12+ Memory Leak - WKWebView and UIWebView
14
4,303
2
true
false
[ "memory-leaks", "uiwebview", "wkwebview", "ios12", "javascriptcore" ]
2018-11-07T10:08:50
2021-11-26T13:46:25
CPR
false
CC BY-SA 4.0
null
4,437,636
773
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
49064577
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/49064577/why-callback-method-for-asynchronous-network-call-cant-cause-memory-leak-when-a
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
49,064,577
Why callback method for asynchronous network call can't cause memory leak when activity finished?
14
2,077
4
true
true
[ "java", "android", "jvm", "okhttp" ]
2018-03-02T07:35:26
2018-03-11T21:26:30
Cyrus
false
CC BY-SA 3.0
49,138,529
6,892,311
9,445
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
43480343
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/43480343/passing-a-activity-context-into-a-static-method-memory-leak-potential
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
43,480,343
Passing a activity context into a static method, memory leak potential?
14
5,119
1
true
true
[ "android", "android-activity", "memory-leaks", "android-context" ]
2017-04-18T19:08:02
2017-04-18T19:10:42
Le2e410
false
CC BY-SA 3.0
43,480,386
6,051,956
313
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
37508417
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/37508417/javascript-does-elements-created-using-createelement-method-cause-memory-lea
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
37,508,417
[Javascript]: Does Elements created using CreateElement method, cause memory leak, if not removed properly?
14
4,491
2
true
false
[ "javascript" ]
2016-05-29T09:45:39
2016-05-31T21:57:07
vivek
false
CC BY-SA 3.0
null
5,813,936
347
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
34419048
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/34419048/nvd3-application-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
34,419,048
nvd3 application memory leak
14
505
2
true
true
[ "javascript", "d3.js", "memory-leaks", "nvd3.js" ]
2015-12-22T15:21:36
2016-01-15T14:34:05
Mario
false
CC BY-SA 3.0
34,813,353
758,614
529
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
31094110
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/31094110/memory-leak-when-using-wkscriptmessagehandler
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
31,094,110
Memory leak when using WKScriptMessageHandler
14
6,792
4
true
true
[ "ios", "macos", "memory-leaks", "webkit", "javascriptcore" ]
2015-06-27T22:20:09
2020-12-08T09:32:51
Reda Lemeden
false
CC BY-SA 3.0
31,094,313
656,507
1,017
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
25834981
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/25834981/memory-leak-in-scala-and-processes
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
25,834,981
Memory leak in Scala and processes
14
6,619
2
true
false
[ "java", "scala", "memory", "memory-leaks" ]
2014-09-14T15:37:58
2014-10-03T19:25:15
Daniel Cukier
false
CC BY-SA 3.0
null
105,514
12,020
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
21189328
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/21189328/detached-pthreads-and-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
21,189,328
Detached pthreads and memory leak
14
4,382
5
true
false
[ "c++", "windows", "memory-leaks", "pthreads" ]
2014-01-17T15:17:13
2014-02-16T12:17:32
Fracu
false
CC BY-SA 3.0
null
339,881
845
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
21080642
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/21080642/memory-leak-in-go-http-standard-library
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
21,080,642
Memory leak in Go http standard library?
14
7,425
1
true
true
[ "http", "memory-management", "memory-leaks", "go", "standard-library" ]
2014-01-12T21:41:55
2016-08-03T13:15:29
Mark
false
CC BY-SA 3.0
21,081,691
2,832,083
942
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
20997669
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/20997669/memory-leak-in-three-js
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
20,997,669
Memory leak in Three.js
14
17,786
1
true
true
[ "javascript", "memory-management", "memory-leaks", "three.js" ]
2014-01-08T13:53:45
2014-02-12T10:46:52
Gaurav
false
CC BY-SA 3.0
21,725,667
1,121,498
1,088
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
14224068
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/14224068/memory-leak-using-pandas-dataframe
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
14,224,068
Memory leak using pandas dataframe
14
18,257
1
true
true
[ "python", "pandas", "memory-leaks", "memory-leak-detector", "objgraph" ]
2013-01-08T21:09:25
2016-01-02T19:59:11
sebpiq
false
CC BY-SA 3.0
14,224,444
312,598
7,862
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
12717895
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/12717895/memory-leak-on-stop-or-redeploy-spring-3-1-2-hibernate-4-1-0-spring-data-jpa
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
12,717,895
Memory Leak on stop or redeploy - Spring 3.1.2, Hibernate 4.1.0, Spring Data-Jpa 1.1.0, Tomcat 7.0.30
14
11,723
4
true
false
[ "java", "spring", "hibernate", "spring-mvc", "tomcat7" ]
2012-10-03T22:40:49
2017-07-11T16:52:39
Jaymes Bearden
false
CC BY-SA 3.0
null
941,187
2,049
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
12621418
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/12621418/valgrind-find-memory-leak-in-a-shared-library
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
12,621,418
valgrind - Find memory leak in a shared library
14
16,850
2
true
false
[ "memory-leaks", "shared-libraries", "valgrind" ]
2012-09-27T12:29:13
2021-09-02T14:26:08
Naga
false
CC BY-SA 3.0
null
275,960
527
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
10750299
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/10750299/if-i-specify-a-default-value-for-an-argument-of-type-stdstring-in-c-cou
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
10,750,299
If I specify a default value for an argument of type "std::string &" in C++, could that cause a memory leak?
14
3,732
3
true
true
[ "c++", "memory-leaks", "valgrind", "stdstring" ]
2012-05-25T07:31:22
2012-05-28T04:49:51
Boinst
false
CC BY-SA 3.0
10,750,570
385,094
3,545
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
9044872
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/9044872/fprintf-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
9,044,872
fprintf memory leak
14
2,811
1
true
true
[ "c", "xcode", "memory-leaks", "instruments", "valgrind" ]
2012-01-28T11:21:29
2012-01-29T16:00:57
Pih
false
CC BY-SA 3.0
9,053,792
725,003
2,264
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
8471773
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/8471773/mpi-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
8,471,773
MPI memory leak
14
7,344
2
true
true
[ "memory-leaks", "mpi", "valgrind" ]
2011-12-12T08:48:18
2018-08-30T12:53:43
bartgol
false
CC BY-SA 4.0
8,471,873
1,093,346
1,933
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4271130
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/4271130/c-is-push-backnew-object-a-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
4,271,130
C++: is push_back(new Object()) a memory leak?
14
15,116
7
true
true
[ "c++", "memory", "new-operator", "memory-leaks" ]
2010-11-24T20:18:16
2015-08-22T07:16:01
jbu
false
CC BY-SA 2.5
4,271,162
38,663
16,289
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
3839262
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/3839262/find-memory-leak-in-a-ruby-on-rails-project
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
3,839,262
Find memory leak in a Ruby on Rails project
14
7,549
3
true
false
[ "ruby-on-rails", "ruby", "memory", "memory-leaks" ]
2010-10-01T12:48:12
2019-07-10T17:31:13
Pablo Fernandez
false
CC BY-SA 2.5
null
6,068
290,140
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
3390280
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/3390280/android-memory-leak-in-notification-service
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
3,390,280
android memory leak in notification service
14
5,617
2
true
true
[ "android", "memory-leaks", "notifications", "notificationmanager" ]
2010-08-02T17:38:56
2013-05-10T12:28:44
stealthcopter
false
CC BY-SA 2.5
4,484,693
315,998
14,224
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1774202
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/1774202/not-calling-delegate-endinvoke-can-cause-memory-leak-a-myth
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
1,774,202
Not calling Delegate.EndInvoke can cause memory leak... a myth?
14
3,118
4
true
true
[ ".net", "memory-leaks", "asynchronous" ]
2009-11-21T01:35:46
2016-06-13T13:27:28
Jeff Cyr
false
CC BY-SA 2.5
1,937,200
166,227
4,864
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1052145
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/1052145/g-multi-platform-memory-leak-detection-tool
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
1,052,145
G++ Multi-platform memory leak detection tool
14
19,643
6
true
false
[ "c++", "eclipse", "memory-management", "memory-leaks" ]
2009-06-27T05:04:00
2018-02-19T22:11:59
mnuzzo
false
CC BY-SA 3.0
null
125,435
3,597
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
75246192
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/75246192/why-is-my-flutter-app-crashing-randomly-and-how-to-find-potential-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
75,246,192
Why is my Flutter App Crashing Randomly and how to find potential memory leak - EXC_RESOURCE RESOURCE_TYPE_MEMORY
13
20,051
4
true
false
[ "android", "ios", "flutter", "google-cloud-firestore" ]
2023-01-26T12:32:36
2024-03-27T06:05:45
Marvioso
false
CC BY-SA 4.0
null
12,368,370
479
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
62002095
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/62002095/joblib-worker-stopped-caused-by-timeout-or-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
62,002,095
joblib: Worker stopped caused by timeout or memory leak
13
9,235
1
true
false
[ "python", "multiprocessing", "joblib" ]
2020-05-25T12:07:19
2022-04-23T07:49:35
cmosig
false
CC BY-SA 4.0
null
8,832,008
1,334
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
61303466
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/61303466/swiftui-memory-leak-in-navigationview
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
61,303,466
SwiftUI - memory leak in NavigationView
13
5,188
4
true
true
[ "ios", "swift", "memory-leaks", "swiftui", "combine" ]
2020-04-19T11:19:58
2022-08-23T15:07:39
Vahagn Gevorgyan
false
CC BY-SA 4.0
61,382,527
7,876,148
2,823
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
58067377
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/58067377/swiftui-possible-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
58,067,377
SwiftUI - Possible Memory Leak
13
5,068
1
true
true
[ "swift", "user-interface", "memory-leaks", "swiftui" ]
2019-09-23T17:25:17
2020-04-30T10:37:37
WafflesRightMeow
false
CC BY-SA 4.0
58,070,805
2,205,820
133
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
56699009
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/56699009/swiftui-memory-leak-when-using-uiviewcontrollerrepresentable
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
56,699,009
SwiftUI memory leak when using UIViewControllerRepresentable
13
3,765
1
true
true
[ "swiftui" ]
2019-06-21T07:45:25
2020-09-03T15:57:36
kontiki
false
CC BY-SA 4.0
57,380,160
7,786,555
41,141
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
55045402
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/55045402/memory-leak-in-golang-slice
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
55,045,402
Memory leak in golang slice
13
12,535
1
true
false
[ "pointers", "go", "copy", "append", "slice" ]
2019-03-07T13:50:55
2019-03-07T15:43:12
Samarendra
false
CC BY-SA 4.0
null
3,933,557
780
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
52890704
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/52890704/memory-leak-at-toasttn-mnextview
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
52,890,704
Memory Leak at Toast$TN.mNextView
13
4,802
1
true
false
[ "android", "memory-leaks", "leakcanary" ]
2018-10-19T10:38:47
2020-05-15T00:23:09
Vlad Kramarenko
false
CC BY-SA 4.0
null
6,944,162
286
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
38838071
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/38838071/closure-memory-leak-of-unused-variables
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
38,838,071
Closure memory leak of unused variables
13
1,906
3
true
true
[ "javascript" ]
2016-08-08T20:35:02
2025-02-09T02:42:35
ASDFGerte
false
CC BY-SA 3.0
38,838,650
6,692,606
5,254
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
36185685
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/36185685/java-process-memory-growing-indefinitely-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
36,185,685
Java process memory growing indefinitely. Memory leak?
13
3,184
2
true
true
[ "java", "memory", "heap-memory" ]
2016-03-23T18:12:32
2021-07-13T09:21:36
Srki Rakic
false
CC BY-SA 4.0
58,953,063
2,263,251
519
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
33481220
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/33481220/memory-leak-in-f-async-recursive-call
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
33,481,220
Memory leak in F# async recursive call
13
1,341
1
true
true
[ "asynchronous", "memory-leaks", "f#", "tail-recursion" ]
2015-11-02T15:31:33
2016-03-04T15:53:16
lobsterism
false
CC BY-SA 3.0
33,481,297
1,288,448
3,539
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
33087439
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/33087439/xcode-shows-memory-leak-but-instruments-does-not
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
33,087,439
Xcode shows memory leak, but Instruments does not
13
5,898
3
true
false
[ "ios", "xcode", "swift", "memory-leaks", "instruments" ]
2015-10-12T18:00:58
2016-03-18T17:50:28
Mate Hegedus
false
CC BY-SA 3.0
null
2,939,175
2,915
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
32641775
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/32641775/why-does-this-observable-generate-overload-cause-a-memory-leak-using-timespan
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
32,641,775
Why does this Observable.Generate overload cause a memory leak? [Using Timespan < 15ms]
13
557
1
true
true
[ "c#", "system.reactive" ]
2015-09-17T23:56:00
2016-12-20T14:20:26
voqk
false
CC BY-SA 3.0
32,642,168
5,278,369
178
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
31673604
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/31673604/chrome-profiler-javascript-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
31,673,604
Chrome Profiler Javascript memory leak
13
369
1
true
true
[ "javascript", "google-chrome", "memory-leaks", "profiler" ]
2015-07-28T10:23:47
2017-11-22T13:52:36
kamel B
false
CC BY-SA 3.0
47,427,311
690,131
313
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
31594090
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/31594090/scrapy-spider-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
31,594,090
Scrapy spider memory leak
13
1,934
1
true
false
[ "python", "memory-leaks", "scrapy", "scrapyd" ]
2015-07-23T17:19:07
2015-08-15T17:36:53
Aldarund
false
CC BY-SA 3.0
null
239,354
17,622
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
28522163
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/28522163/node-js-memory-leak-with-pm2
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
28,522,163
Node.JS memory leak with PM2
13
22,037
2
true
false
[ "node.js", "memory-leaks" ]
2015-02-15T01:27:40
2020-07-03T18:48:03
majidarif
false
CC BY-SA 3.0
null
3,134,069
20,443
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
26684409
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/26684409/qt-4-7-tcp-thread-data-transfer-causes-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
26,684,409
Qt 4.7: TCP thread, data transfer causes memory leak
13
1,060
5
true
true
[ "c++", "qt", "sockets" ]
2014-10-31T22:35:44
2016-01-06T04:00:53
fyngyrz
false
CC BY-SA 3.0
34,562,391
599,484
2,734
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
23682232
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/23682232/how-can-i-fix-the-dependencypropertydescriptor-addvaluechanged-memory-leak-on-at
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
23,682,232
How can I fix the DependencyPropertyDescriptor AddValueChanged Memory Leak on AttachedBehavior?
13
12,409
2
true
true
[ "wpf", "memory-leaks", "dependency-properties", "attachedbehaviors" ]
2014-05-15T15:11:51
2021-06-24T21:02:40
scuba88
false
CC BY-SA 4.0
23,687,448
1,148,048
458
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
17668729
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/17668729/memory-leak-in-gcc-4-8-1-when-using-thread-local
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
17,668,729
Memory leak in gcc 4.8.1 when using thread_local?
13
2,807
2
true
true
[ "c++11", "thread-local-storage", "gcc4.8" ]
2013-07-16T05:34:18
2013-07-16T11:30:56
Stephen Croll
false
CC BY-SA 3.0
17,674,343
2,224,952
133
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
16834603
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/16834603/is-using-var-foo-function-foo-expression-creating-a-memory-leak-in-ie
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
16,834,603
Is using var foo = function foo() {}; expression creating a memory leak in IE < 9?
13
457
1
true
false
[ "javascript", "internet-explorer", "jscript" ]
2013-05-30T11:09:08
2013-05-31T18:55:43
soulcheck
false
CC BY-SA 3.0
null
642,340
36,917
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
13190337
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/13190337/avoid-memory-leak-usage-javascript
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
13,190,337
Avoid Memory Leak / Usage Javascript
13
7,735
2
true
true
[ "javascript", "jquery", "memory-leaks" ]
2012-11-02T06:21:47
2016-05-26T10:54:07
Hardik
false
CC BY-SA 3.0
13,191,289
559,026
14,937
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
10302503
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/10302503/rabbitmq-celery-django-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
10,302,503
RabbitMQ/Celery/Django Memory Leak?
13
5,973
2
true
false
[ "django", "rabbitmq", "celery", "amqp", "django-celery" ]
2012-04-24T16:58:43
2017-07-05T18:37:46
MatthewKremer
false
CC BY-SA 3.0
null
997,059
1,569
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
9029730
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/9029730/thread-freeonterminate-true-memory-leak-and-ghost-running
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
9,029,730
Thread.FreeOnTerminate := True, memory leak and ghost running
13
4,423
1
true
true
[ "multithreading", "delphi", "memory-leaks", "delphi-7" ]
2012-01-27T06:28:09
2021-01-20T11:05:02
NGLN
false
CC BY-SA 4.0
9,029,863
757,830
43,772
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
8840168
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/8840168/whats-the-difference-between-abandoned-memory-and-a-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
8,840,168
What's the difference between abandoned memory and a memory leak?
13
2,987
3
true
false
[ "objective-c", "ios", "memory-management", "memory-leaks", "abandoned-memory" ]
2012-01-12T18:18:14
2022-10-10T14:41:20
openfrog
false
CC BY-SA 3.0
null
221,023
41,003
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
8574241
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/8574241/jni-newbytearray-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
8,574,241
JNI NewByteArray memory leak
13
22,590
2
true
true
[ "java", "visual-studio-2010", "visual-c++", "java-native-interface" ]
2011-12-20T10:48:43
2015-06-16T17:09:43
Rick
false
CC BY-SA 3.0
8,586,891
898,313
1,082
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
7284344
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/7284344/stdstring-operator-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
7,284,344
std::string operator+() memory leak?
13
4,090
3
true
true
[ "c++", "string", "stl", "memory-leaks", "valgrind" ]
2011-09-02T13:45:16
2011-09-02T14:11:54
morandg
false
CC BY-SA 3.0
7,284,726
380,275
1,066
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
6857355
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/6857355/memory-leak-when-using-sharedresourcedictionary
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
6,857,355
Memory leak when using SharedResourceDictionary
13
13,682
2
true
true
[ "wpf", "memory-leaks", "resourcedictionary" ]
2011-07-28T10:16:38
2014-08-15T07:39:48
dowhilefor
false
CC BY-SA 3.0
6,857,682
824,750
11,129
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5959038
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/5959038/memory-leak-application-exited-with-signal-9
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
5,959,038
memory leak - application exited with signal 9
13
30,328
2
true
false
[ "iphone", "ipad", "memory-leaks", "memory-management" ]
2011-05-11T03:53:05
2017-10-12T10:45:05
Priyanka V
false
CC BY-SA 3.0
null
760,321
834
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5769748
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/5769748/inputmethodmanager-holds-reference-to-the-tabhost-memory-leak-oom-error
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
5,769,748
InputMethodManager holds reference to the tabhost - Memory Leak - OOM Error
13
6,194
3
true
true
[ "android", "memory", "memory-leaks", "android-tabhost" ]
2011-04-24T09:31:45
2016-05-19T12:48:28
TomNJerry
false
CC BY-SA 3.0
7,845,828
2,700,586
2,669
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
5765990
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/5765990/java-mysql-jdbc-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
5,765,990
Java MySQL JDBC Memory Leak
13
14,500
4
true
true
[ "java", "mysql", "jdbc", "memory-leaks" ]
2011-04-23T18:14:33
2016-11-08T05:04:03
Jordan
false
CC BY-SA 3.0
5,766,038
612,580
4,680
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4244309
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/4244309/is-there-memory-leak-issue-if-not-calling-cleartimout-after-calling-settimeout
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
4,244,309
Is there memory leak issue if not calling clearTimout after calling setTimeout
13
12,559
2
true
true
[ "javascript" ]
2010-11-22T10:13:04
2022-08-08T20:39:41
Ricky
false
CC BY-SA 2.5
4,244,369
149,578
36,433
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4078084
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/4078084/memory-leak-in-python-twisted-where-is-it
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
4,078,084
Memory leak in Python Twisted: where is it?
13
2,992
1
true
false
[ "python", "memory-leaks", "garbage-collection", "twisted", "memory-management" ]
2010-11-02T13:25:44
2013-01-08T08:19:40
Tommy
false
CC BY-SA 2.5
null
307,262
1,239
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
3584821
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/3584821/jaxbcontext-newinstance-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
3,584,821
JAXBContext.newInstance memory leak
13
10,705
2
true
false
[ "java", "memory-leaks", "jaxb", "java-metro-framework" ]
2010-08-27T13:52:07
2026-05-01T01:29:24
Lissy
false
CC BY-SA 2.5
null
432,967
211
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2852878
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/2852878/is-this-a-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
2,852,878
Is this a memory leak?
13
985
11
true
true
[ "c++", "pointers", "memory-leaks" ]
2010-05-17T21:17:59
2011-04-19T14:39:14
Ben
false
CC BY-SA 2.5
2,852,881
343,466
133
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
1996088
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/1996088/java-class-permgen-memory-leak-web-applications-generic-solution
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
1,996,088
Java Class (PermGen) Memory Leak (Web Applications) - Generic Solution?
13
18,441
4
true
true
[ "java", "garbage-collection", "permgen" ]
2010-01-03T19:54:08
2012-11-13T20:17:02
Eran Medan
false
CC BY-SA 3.0
1,996,161
239,168
45,955
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
685904
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/685904/how-can-i-enable-the-memory-leak-tracking-with-fastmm-in-dunit
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
685,904
How can I enable the memory leak tracking with FastMM in DUnit?
13
2,237
1
true
true
[ "delphi", "memory-leaks", "fastmm", "dunit" ]
2009-03-26T13:55:56
2011-09-14T20:44:41
mjn
false
CC BY-SA 3.0
685,988
80,901
36,782
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
47111302
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/47111302/deleting-c-array-from-heap-and-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
47,111,302
deleting c++ array from heap and memory leak
12
9,905
2
true
true
[ "c++", "arrays", "memory-leaks", "valgrind" ]
2017-11-04T13:32:23
2021-03-06T10:14:08
Saeed Masoomi
false
CC BY-SA 4.0
47,111,351
5,208,061
1,844
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
40941701
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/40941701/ruby-memory-leak-mri
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
40,941,701
Ruby Memory leak (MRI)
12
717
1
true
false
[ "ruby", "memory-leaks" ]
2016-12-02T22:17:43
2020-12-21T17:07:00
Sash
false
CC BY-SA 3.0
null
7,221,294
281
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
32406650
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/32406650/memory-leak-detected-in-chrome-custom-tabs
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
32,406,650
Memory leak detected in Chrome Custom Tabs
12
3,246
2
true
true
[ "android", "google-chrome", "memory-leaks", "chrome-custom-tabs" ]
2015-09-04T21:10:38
2017-02-22T00:47:36
Allison
false
CC BY-SA 3.0
32,477,212
597,368
501
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
13953714
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/13953714/jdk1-7-classloader-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
13,953,714
JDK1.7 ClassLoader Memory Leak
12
1,452
1
true
false
[ "java", "memory-leaks", "classloader" ]
2012-12-19T13:42:44
2012-12-21T09:11:58
user1915918
false
CC BY-SA 3.0
null
1,915,918
121
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
13789289
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/13789289/need-help-to-understand-memory-leak-in-my-android-app
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
13,789,289
Need help to understand memory leak in my Android app
12
2,572
5
true
true
[ "android", "memory-leaks", "out-of-memory", "heap-memory" ]
2012-12-09T16:30:25
2021-09-26T18:19:55
Bevor
false
CC BY-SA 4.0
14,012,413
319,773
8,664
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
8236837
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/8236837/memory-leak-drawinrect-on-ios5-0-1
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
8,236,837
Memory leak drawInRect on iOS5.0.1
12
5,612
2
true
true
[ "iphone", "ios", "ipad", "ios5", "memory-leaks" ]
2011-11-23T03:04:15
2012-12-08T06:58:05
David
false
CC BY-SA 3.0
12,130,019
295,392
2,820
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
8076752
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/8076752/memory-leak-when-using-shared-library-with-thread-local-storage-via-ctypes-in-a
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
8,076,752
Memory leak when using shared library with thread local storage via ctypes in a python program
12
1,948
2
true
true
[ "python", "memory-leaks", "ctypes", "thread-local-storage" ]
2011-11-10T08:34:59
2012-07-26T23:47:33
user1037171
false
CC BY-SA 4.0
11,679,652
1,037,171
123
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
6436620
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/6436620/is-it-possible-to-have-a-memory-leak-in-managed-code-specifically-c-3-0
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
6,436,620
Is it possible to have a memory leak in managed code? (specifically C# 3.0)
12
7,066
11
true
true
[ "c#", ".net", "memory-leaks" ]
2011-06-22T07:51:17
2013-04-24T00:49:02
markmnl
false
CC BY-SA 3.0
6,436,644
349,528
11,394
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
6025089
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/6025089/guice-tomcat-potential-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
6,025,089
Guice + Tomcat potential memory leak
12
10,463
3
true
true
[ "java", "tomcat", "guice", "guice-servlet" ]
2011-05-17T00:46:46
2016-04-07T00:03:27
Peter Sankauskas
false
CC BY-SA 3.0
6,025,294
106,717
2,992
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
4828902
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/4828902/why-wrapping-the-data-binary-put-monad-creates-a-memory-leak
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
4,828,902
Why wrapping the Data.Binary.Put monad creates a memory leak?
12
744
2
true
true
[ "memory", "haskell", "memory-leaks", "binary", "memory-management" ]
2011-01-28T13:48:41
2011-02-17T00:11:27
Peter Jankuliak
false
CC BY-SA 3.0
4,839,550
273,348
3,679
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
2820223
question
stackoverflow
2026-08-03T01:37:30
null
null
null
null
null
https://stackoverflow.com/questions/2820223/visual-c-memory-leak-detection
F1fl0hxaiNBBqIuA9
p3XVc2e5tDDSDadCV
2,820,223
Visual C++ - Memory Leak Detection
12
19,494
10
true
false
[ "c++", "visual-c++", "memory-leaks", "memory-leak-detector", "visual-leak-detector" ]
2010-05-12T15:22:06
2022-12-16T19:37:52
Jacob
false
CC BY-SA 3.0
null
71,131
34,735
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
231767
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/231767/what-does-the-yield-keyword-do-in-python
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
231,767
What does the "yield" keyword do in Python?
13,135
3,496,841
51
true
true
[ "python", "iterator", "generator", "yield" ]
2008-10-23T22:21:11
2026-04-30T18:43:47
Alex. S.
false
CC BY-SA 4.0
231,855
18,300
148,414
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
What functionality does the yield keyword in Python provide? For example, I'm trying to understand this code 1 : def _get_child_candidates(self, distance, min_dist, max_dist): if self._leftchild and distance - max_dist < self._median: yield self._leftchild if self._rightchild and distance + max_dist >= self._median: yi...
<p>What functionality does the <a href="https://docs.python.org/3/reference/simple_stmts.html#yield" rel="noreferrer"><code>yield</code></a> keyword in Python provide?</p> <p>For example, I'm trying to understand this code<sup><strong>1</strong></sup>:</p> <pre><code>def _get_child_candidates(self, distance, min_dist, ...
[ { "answerId": 231855, "score": 18317, "isAccepted": true, "createdAt": "2008-10-23T22:48:44", "ownerDisplayName": "Bite code", "ownerUserId": 9951, "bodyText": "To understand what yield does, you must understand what generators are. And before you can understand generators, you must unde...
2
419163
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/419163/what-does-if-name-main-do
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
419,163
What does if __name__ == "__main__": do?
8,439
5,034,477
40
true
true
[ "python", "namespaces", "program-entry-point", "python-module", "idioms" ]
2009-01-07T04:11:00
2025-09-22T16:20:13
Devoted
false
CC BY-SA 4.0
419,185
51,518
184,991
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
What does this do, and why should one include the if statement? if __name__ == "__main__": print("Hello, World!") If you are trying to close a question where someone should be using this idiom and isn't, consider closing as a duplicate of Why is Python running my module when I import it, and how do I stop it? instead. ...
<p>What does this do, and why should one include the <code>if</code> statement?</p> <pre class="lang-py prettyprint-override"><code>if __name__ == &quot;__main__&quot;: print(&quot;Hello, World!&quot;) </code></pre> <hr /> <p><sub>If you are trying to close a question where someone should be using this idiom and is...
[ { "answerId": 419185, "score": 9055, "isAccepted": true, "createdAt": "2009-01-07T04:26:43", "ownerDisplayName": "Mr Fooz", "ownerUserId": 25050, "bodyText": "Short Answer It's boilerplate code that protects users from accidentally invoking the script when they didn't intend to. Here are...
2
394809
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/394809/does-python-have-a-ternary-conditional-operator
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
394,809
Does Python have a ternary conditional operator?
8,125
3,141,105
32
true
true
[ "python", "operators", "conditional-operator" ]
2008-12-27T08:32:18
2025-08-22T12:22:53
Devoted
false
CC BY-SA 4.0
394,814
51,518
184,991
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Is there a ternary conditional operator in Python?
<p>Is there a <a href="https://en.wikipedia.org/wiki/%3F:#Python" rel="noreferrer">ternary conditional operator</a> in Python?</p>
[ { "answerId": 394814, "score": 9354, "isAccepted": true, "createdAt": "2008-12-27T08:44:19", "ownerDisplayName": "Vinko Vrsalovic", "ownerUserId": 5190, "bodyText": "Yes, it was added in version 2.5. The expression syntax is: a if condition else b First condition is evaluated, then exact...
1
100003
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/100003/what-are-metaclasses-in-python
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
100,003
What are metaclasses in Python?
7,534
1,264,624
26
true
true
[ "python", "oop", "metaclass", "python-class", "python-datamodel" ]
2008-09-19T06:10:46
2025-08-01T05:49:44
Bite code
false
CC BY-SA 4.0
100,146
9,951
601,871
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
What are metaclasses ? What are they used for?
<p>What are <a href="https://docs.python.org/3/reference/datamodel.html#metaclasses" rel="noreferrer">metaclasses</a>? What are they used for?</p>
[ { "answerId": 6581949, "score": 9347, "isAccepted": false, "createdAt": "2011-07-05T11:29:50", "ownerDisplayName": "Bite code", "ownerUserId": 9951, "bodyText": "Classes are objects Before delving into metaclasses, a solid grasp of Python classes is beneficial. Python holds a particularl...
2
38987
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/38987/how-do-i-merge-two-dictionaries-in-a-single-expression-in-python
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
38,987
How do I merge two dictionaries in a single expression in Python?
7,126
3,681,560
45
true
true
[ "python", "dictionary", "merge" ]
2008-09-02T07:44:30
2025-09-26T11:06:17
Carl Meyer
false
CC BY-SA 4.0
61,116,810
3,207
127,641
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
I want to merge two dictionaries into a new dictionary. x = {'a': 1, 'b': 2} y = {'b': 3, 'c': 4} z = merge(x, y) >>> z {'a': 1, 'b': 3, 'c': 4} Whenever a key k is present in both dictionaries, only the value y[k] should be kept.
<p>I want to merge two dictionaries into a new dictionary.</p> <pre><code>x = {'a': 1, 'b': 2} y = {'b': 3, 'c': 4} z = merge(x, y) &gt;&gt;&gt; z {'a': 1, 'b': 3, 'c': 4} </code></pre> <p>Whenever a key <code>k</code> is present in both dictionaries, only the value <code>y[k]</code> should be kept.</p>
[ { "answerId": 26853961, "score": 9413, "isAccepted": false, "createdAt": "2014-11-10T22:11:48", "ownerDisplayName": "Aaron Hall", "ownerUserId": 541136, "bodyText": "How can I merge two Python dictionaries in a single expression? For dictionaries x and y , their shallowly-merged dictiona...
1
89228
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/89228/how-do-i-execute-a-program-or-call-a-system-command
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
89,228
How do I execute a program or call a system command?
6,295
5,249,393
66
true
true
[ "python", "shell", "terminal", "subprocess", "command" ]
2008-09-18T01:35:30
2026-04-24T13:04:42
freshWoWer
false
CC BY-SA 4.0
89,243
17,085
64,729
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
How do I call an external command within Python as if I had typed it in a shell or command prompt?
<p>How do I call an external command within Python as if I had typed it in a shell or command prompt?</p>
[ { "answerId": 89243, "score": 5978, "isAccepted": true, "createdAt": "2008-09-18T01:39:35", "ownerDisplayName": "David Cournapeau", "ownerUserId": 11465, "bodyText": "Use subprocess.run : import subprocess subprocess.run([\"ls\", \"-l\"]) Another common way is os.system but you shouldn't...
2
273192
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/273192/how-do-i-create-a-directory-and-any-missing-parent-directories
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
273,192
How do I create a directory, and any missing parent directories?
5,823
4,057,799
28
true
true
[ "python", "exception", "path", "directory", "operating-system" ]
2008-11-07T18:56:45
2025-07-04T08:40:33
Parand
false
CC BY-SA 4.0
273,227
13,055
107,080
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
How do I create a directory at a given path, and also create any missing parent directories along that path? For example, the Bash command mkdir -p /path/to/nested/directory does this.
<p>How do I create a directory at a given path, and also create any missing parent directories along that path? For example, the Bash command <code>mkdir -p /path/to/nested/directory</code> does this.</p>
[ { "answerId": 273227, "score": 7305, "isAccepted": true, "createdAt": "2008-11-07T19:06:07", "ownerDisplayName": "Blair Conrad", "ownerUserId": 1199, "bodyText": "On Python ≥ 3.5, use pathlib.Path.mkdir : from pathlib import Path Path(\"/my/directory\").mkdir(parents=True, exist_ok=True)...
1
522563
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/522563/how-can-i-access-the-index-value-in-a-for-loop
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
522,563
How can I access the index value in a 'for' loop?
5,679
5,110,398
28
true
true
[ "python", "loops", "list" ]
2009-02-06T22:47:54
2025-06-24T15:40:40
Joan Venge
false
CC BY-SA 4.0
522,578
51,816
334,709
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
How do I access the index while iterating over a sequence with a for loop? xs = [8, 23, 45] for x in xs: print("item #{} = {}".format(index, x)) Desired output: item #1 = 8 item #2 = 23 item #3 = 45
<p>How do I access the index while iterating over a sequence with a <code>for</code> loop?</p> <pre class="lang-py prettyprint-override"><code>xs = [8, 23, 45] for x in xs: print(&quot;item #{} = {}&quot;.format(index, x)) </code></pre> <p>Desired output:</p> <pre class="lang-none prettyprint-override"><code>item ...
[ { "answerId": 522578, "score": 9271, "isAccepted": true, "createdAt": "2009-02-06T22:52:36", "ownerDisplayName": "Mike Hordecki", "ownerUserId": 19082, "bodyText": "Use the built-in function enumerate() : for idx, x in enumerate(xs): print(idx, x) It is non-Pythonic to manually index via...
1
952914
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/952914/how-do-i-make-a-flat-list-out-of-a-list-of-lists
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
952,914
How do I make a flat list out of a list of lists?
5,517
4,703,905
32
true
true
[ "python", "list", "multidimensional-array", "flatten" ]
2009-06-04T20:30:05
2026-03-13T16:32:09
Emma
false
CC BY-SA 4.0
952,952
110,527
55,981
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
I have a list of lists like [ [1, 2, 3], [4, 5, 6], [7], [8, 9] ] How can I flatten it to get [1, 2, 3, 4, 5, 6, 7, 8, 9] ? Editor's notes: If your list of lists comes from a nested list comprehension, the problem can be solved more simply/directly by fixing the comprehension; please see How can I get a flat result fro...
<p>I have a list of lists like</p> <pre><code>[ [1, 2, 3], [4, 5, 6], [7], [8, 9] ] </code></pre> <p>How can I flatten it to get <code>[1, 2, 3, 4, 5, 6, 7, 8, 9]</code>?</p> <hr /> <p><em>Editor's notes:</em></p> <p><sub>If your list of lists comes from a nested list comprehension, the problem can be s...
[ { "answerId": 952952, "score": 7509, "isAccepted": true, "createdAt": "2009-06-04T20:37:01", "ownerDisplayName": "Alex Martelli", "ownerUserId": 95810, "bodyText": "A list of lists named xss can be flattened using a nested list comprehension : flat_list = [ x for xs in xss for x in xs ] ...
2
136097
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/136097/what-is-the-difference-between-staticmethod-and-classmethod-in-python
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
136,097
What is the difference between @staticmethod and @classmethod in Python?
4,792
1,173,645
36
true
true
[ "python", "oop", "static-methods", "python-decorators", "class-method" ]
2008-09-25T21:01:57
2024-12-05T19:30:31
Daryl Spitzer
false
CC BY-SA 4.0
1,669,524
4,766
151,222
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
What is the difference between a method decorated with @staticmethod and one decorated with @classmethod ?
<p>What is the difference between a method <a href="https://peps.python.org/pep-0318/" rel="noreferrer">decorated</a> with <a href="http://docs.python.org/library/functions.html#staticmethod" rel="noreferrer"><code>@staticmethod</code></a> and one decorated with <a href="http://docs.python.org/library/functions.html#cl...
[ { "answerId": 1669524, "score": 4023, "isAccepted": true, "createdAt": "2009-11-03T19:13:48", "ownerDisplayName": "unutbu", "ownerUserId": 190597, "bodyText": "Maybe a bit of example code will help: Notice the difference in the call signatures of foo , class_foo and static_foo : class A(...
1
509211
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/509211/how-slicing-in-python-works
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
509,211
How slicing in Python works
4,709
3,273,285
38
true
true
[ "python", "slice", "sequence" ]
2009-02-03T22:31:02
2026-03-07T16:15:41
Simon
false
CC BY-SA 4.0
509,295
24,039
81,371
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
How does Python's slice notation work? That is: when I write code like a[x:y:z] , a[:] , a[::2] etc., how can I understand which elements end up in the slice? See Why are slice and range upper-bound exclusive? to learn why xs[0:2] == [xs[0], xs[1]] , not [..., xs[2]] . See Make a new list containing every Nth item in t...
<p>How does Python's <em>slice notation</em> work? That is: when I write code like <code>a[x:y:z]</code>, <code>a[:]</code>, <code>a[::2]</code> etc., how can I understand which elements end up in the slice?</p> <hr /> <p><sub>See <a href="https://stackoverflow.com/questions/11364533">Why are slice and range upper-boun...
[ { "answerId": 509295, "score": 6664, "isAccepted": true, "createdAt": "2009-02-03T22:48:24", "ownerDisplayName": "Greg Hewgill", "ownerUserId": 893, "bodyText": "The syntax is: a[start:stop] # items start through stop-1 a[start:] # items start through the rest of the array a[:stop] # ite...
1
176918
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/176918/how-can-i-find-the-index-for-a-given-item-in-a-list
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
176,918
How can I find the index for a given item in a list?
4,490
6,737,573
47
true
true
[ "python", "list", "indexing" ]
2008-10-07T01:39:38
2025-06-23T18:18:22
Eugene M
false
CC BY-SA 4.0
176,921
25,680
49,305
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
Given a list ["foo", "bar", "baz"] and an item in the list "bar" , how do I get its index 1 ?
<p>Given a list <code>[&quot;foo&quot;, &quot;bar&quot;, &quot;baz&quot;]</code> and an item in the list <code>&quot;bar&quot;</code>, how do I get its index <code>1</code>?</p>
[ { "answerId": 176921, "score": 6115, "isAccepted": true, "createdAt": "2008-10-07T01:40:49", "ownerDisplayName": "Alex Coventry", "ownerUserId": 1941213, "bodyText": ">>> [\"foo\", \"bar\", \"baz\"].index(\"bar\") 1 See the documentation for the built-in .index() method of the list: list...
1
3294889
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/3294889/iterating-over-a-dictionary-using-a-for-loop-getting-keys
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
3,294,889
Iterating over a dictionary using a 'for' loop, getting keys
4,428
6,182,188
17
true
true
[ "python", "loops", "dictionary", "key" ]
2010-07-20T22:27:42
2025-11-11T13:24:41
TopChef
false
CC BY-SA 4.0
3,294,899
1,212,392
46,021
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
d = {'x': 1, 'y': 2, 'z': 3} for key in d: print(key, 'corresponds to', d[key]) How does Python recognize that it needs only to read the key from the dictionary? Is key a special keyword, or is it simply a variable?
<pre class="lang-py prettyprint-override"><code>d = {'x': 1, 'y': 2, 'z': 3} for key in d: print(key, 'corresponds to', d[key]) </code></pre> <p>How does Python recognize that it needs only to read the <code>key</code> from the dictionary? Is <code>key</code> a special keyword, or is it simply a variable?</p>
[ { "answerId": 3294899, "score": 7028, "isAccepted": true, "createdAt": "2010-07-20T22:29:33", "ownerDisplayName": "sberry", "ownerUserId": 141555, "bodyText": "key is just a variable name. for key in d: will simply loop over the keys in the dictionary, rather than the keys and values. To...
1
16476924
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/16476924/how-can-i-iterate-over-rows-in-a-pandas-dataframe
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
16,476,924
How can I iterate over rows in a Pandas DataFrame?
4,252
8,102,172
35
true
true
[ "python", "pandas", "dataframe", "loops" ]
2013-05-10T07:04:49
2026-02-20T00:41:24
Roman
false
CC BY-SA 4.0
16,476,974
245,549
132,522
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
I have a pandas dataframe, df : c1 c2 0 10 100 1 11 110 2 12 120 How do I iterate over the rows of this dataframe? For every row, I want to access its elements (values in cells) by the name of the columns. For example: for row in df.rows: print(row['c1'], row['c2']) I found a similar question , which suggests using eit...
<p>I have a pandas dataframe, <code>df</code>:</p> <pre class="lang-none prettyprint-override"><code> c1 c2 0 10 100 1 11 110 2 12 120 </code></pre> <p>How do I iterate over the rows of this dataframe? For every row, I want to access its elements (values in cells) by the name of the columns. For example:</p> ...
[ { "answerId": 16476974, "score": 5527, "isAccepted": true, "createdAt": "2013-05-10T07:07:58", "ownerDisplayName": "waitingkuo", "ownerUserId": 1426056, "bodyText": "DataFrame.iterrows is a generator which yields both the index and row (as a Series): import pandas as pd df = pd.DataFrame...
2
423379
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/423379/how-can-i-use-a-global-variable-in-a-function
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
423,379
How can I use a global variable in a function?
4,049
4,276,368
27
true
true
[ "python", "global-variables", "scope" ]
2009-01-08T05:45:02
2025-09-26T11:40:00
user46646
false
CC BY-SA 4.0
423,596
46,646
160,887
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
How do I create or use a global variable inside a function? How do I use a global variable that was defined in one function inside other functions? Failing to use the global keyword where appropriate often causes UnboundLocalError . The precise rules for this are explained at UnboundLocalError on local variable when re...
<p>How do I create or use a global variable inside a function?</p> <p>How do I use a global variable that was defined in one function inside other functions?</p> <hr /> <p><sub>Failing to use the <code>global</code> keyword where appropriate often causes <code>UnboundLocalError</code>. The precise rules for this are ex...
[ { "answerId": 423596, "score": 5291, "isAccepted": true, "createdAt": "2009-01-08T08:39:44", "ownerDisplayName": "Paul Stephenson", "ownerUserId": 5536, "bodyText": "You can use a global variable within other functions by declaring it as global within each function that assigns a value t...
1
415511
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/415511/how-do-i-get-the-current-time-in-python
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
415,511
How do I get the current time in Python?
4,000
4,829,985
54
true
true
[ "python", "datetime", "time" ]
2009-01-06T04:54:23
2026-01-06T17:34:20
user46646
false
CC BY-SA 4.0
415,519
46,646
160,887
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
How do I get the current time in Python?
<p>How do I get the current time in Python?</p>
[ { "answerId": 415519, "score": 4054, "isAccepted": true, "createdAt": "2009-01-06T04:57:05", "ownerDisplayName": "Harley Holcombe", "ownerUserId": 1057, "bodyText": "Use datetime : >>> import datetime >>> now = datetime.datetime.now() >>> now datetime.datetime(2009, 1, 6, 15, 8, 24, 7891...
1
6470428
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/6470428/how-can-i-catch-multiple-exceptions-in-one-line-in-the-except-block
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
6,470,428
How can I catch multiple exceptions in one line? (in the "except" block)
3,966
1,666,618
6
true
true
[ "python", "exception" ]
2011-06-24T15:55:08
2026-07-04T23:10:27
inspectorG4dget
false
CC BY-SA 4.0
6,470,452
198,633
114,934
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
I know that I can do: try: # do something that may fail except: # do this if ANYTHING goes wrong I can also do this: try: # do something that may fail except IDontLikeYouException: # say please except YouAreTooShortException: # stand on a ladder But if I want to do the same thing inside two different exceptions, the be...
<p>I know that I can do:</p> <pre><code>try: # do something that may fail except: # do this if ANYTHING goes wrong </code></pre> <p>I can also do this:</p> <pre><code>try: # do something that may fail except IDontLikeYouException: # say please except YouAreTooShortException: # stand on a ladder </co...
[ { "answerId": 6470452, "score": 5287, "isAccepted": true, "createdAt": "2011-06-24T15:56:34", "ownerDisplayName": "mechanical_meat", "ownerUserId": 42346, "bodyText": "From Python Documentation : An except clause may name multiple exceptions as a parenthesized tuple, for example except (...
1
123198
question
stackoverflow
2026-08-03T01:37:29
null
null
null
null
null
https://stackoverflow.com/questions/123198/how-do-i-copy-a-file
OcN7A9CDxbrWVwaw5
unPv1LuxmpaTYkIgE
123,198
How do I copy a file?
3,960
4,133,167
21
true
true
[ "python", "file", "copy", "filesystems", "file-copying" ]
2008-09-23T19:23:48
2025-03-02T21:30:03
Matt
false
CC BY-SA 4.0
123,212
17,693
89,027
null
null
null
null
null
null
null
null
null
null
null
null
null
null
null
How do I copy a file in Python?
<p>How do I copy a file in Python?</p>
[ { "answerId": 123212, "score": 4877, "isAccepted": true, "createdAt": "2008-09-23T19:25:35", "ownerDisplayName": "Swati", "ownerUserId": 12682, "bodyText": "shutil has many methods you can use. One of which is: import shutil shutil.copyfile(src, dst) # 2nd option shutil.copy(src, dst) # ...
2