Top "Memory-management" questions

Process of dynamically allocating and freeing portions of physical memory in order to respond to program requests with, if possible, fairness and no starvation among the requesters.

What are the -Xms and -Xmx parameters when starting JVM?

Please explain the use of Xms and Xmx parameters in JVMs. What are the default values for them?

java memory-management parameters jvm
What and where are the stack and heap?

Programming language books explain that value types are created on the stack, and reference types are created on the heap, …

memory-management stack language-agnostic heap dynamic-memory-allocation
How do I determine the size of an object in Python?

I want to know how to get size of objects like a string, integer, etc. in Python. Related question: How …

python object memory memory-management sizeof
Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php

This error message is being presented, any suggestions? Allowed memory size of 33554432 bytes exhausted (tried to allocate 43148176 bytes) in php

php memory-management memory-limit
How can I explicitly free memory in Python?

I wrote a Python program that acts on a large input file to create a few million objects representing triangles. …

python memory memory-management
How to Free Inode Usage?

I have a disk drive where the inode usage is 100% (using df -i command). However after deleting files substantially, the …

linux unix memory-management inode
R memory management / cannot allocate vector of size n Mb

I am running into issues trying to use large objects in R. For example: > memory.limit(4000) > a = matrix(…

r matrix vector memory-management r-faq
Retrieve CPU usage and memory usage of a single process on Linux?

I want to get the CPU and memory usage of a single process on Linux - I know the PID. …

linux shell memory-management cpu-usage
Deleting Objects in JavaScript

I'm a bit confused with JavaScript's delete operator. Take the following piece of code: var obj = { helloText: "Hello World!" }; var …

javascript pointers object memory-management garbage-collection
Attempted to read or write protected memory. This is often an indication that other memory is corrupt

I'm hoping someone can enlighten me as to what could possibly be causing this error: Attempted to read or write …

c# .net multithreading memory-management