Tag: memory

56 votes
28 answers
695 views
Tricks to manage the available memory in an R session

What tricks do people use to manage the available memory of an interactive R session? I use the functions bel

avatar
Solomon
0 1 0 9
asked 07 September, 2021
48 votes
29 answers
1.2K views
Docker error : no space left on device

I installed docker on a Debian 7 machine in the following way $ echo deb http://get.docker.io/ubuntu docker

avatar
Chaya
0 1 0 9
asked 07 September, 2021
52 votes
30 answers
802 views
How can I measure the actual memory usage of an application or process?

How do you measure the memory usage of an application or process in Linux? From the blog article of Understand

avatar
Tana
0 1 0 9
asked 07 September, 2021
53 votes
19 answers
1.9K views
performSelector may cause a leak because its selector is unknown

I'm getting the following warning by the ARC compiler: "performSelector may cause a leak because its sel

avatar
Tuan
0 1 0 9
asked 07 September, 2021
61 votes
15 answers
2K views
Setting Objects to Null/Nothing after use in .NET

Should you set all the objects to null (Nothing in VB.NET) once you have finished with them? I understand th

avatar
Thurman
0 1 0 9
asked 07 September, 2021
59 votes
12 answers
1.9K views
How do you get a string from a MemoryStream?

If I am given a MemoryStream that I know has been populated with a String, how do I get a String back out?

avatar
Margo
0 1 0 9
asked 07 September, 2021
61 votes
6 answers
2.1K views
How are multi-dimensional arrays formatted in memory?

In C, I know I can dynamically allocate a two-dimensional array on the heap using the following code: int** s

avatar
Georgie
0 1 0 9
asked 07 September, 2021
53 votes
30 answers
2.2K views
How can I create a memory leak in Java?

I just had an interview where I was asked to create a memory leak with Java. Needless to say, I felt pretty du

avatar
Percy
0 1 0 9
asked 07 September, 2021
54 votes
30 answers
2.4K views
Fatal Error: Allowed Memory Size of 134217728 Bytes Exhausted (CodeIgniter + XML-RPC)

I have a bunch of client point of sale (POS) systems that periodically send new sales data to one centralized

avatar
Dwain
0 1 0 9
asked 07 September, 2021