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.

Total memory used by Python process?

Is there a way for a Python program to determine how much memory it's currently using? I've seen discussions about …

python memory-management
Which Python memory profiler is recommended?

I want to know the memory usage of my Python application and specifically want to know what code blocks/portions …

python performance memory-management profiling
How to check if pytorch is using the GPU?

I would like to know if pytorch is using my GPU. It's possible to detect with nvidia-smi if there is …

python memory-management gpu nvidia pytorch
Where in memory are my variables stored in C?

By considering that the memory is divided into four segments: data, heap, stack, and code, where do global variables, static …

c memory memory-management types
Peak memory usage of a linux/unix process

Is there a tool that will run a command-line and report the peak RAM usage total? I'm imagining something analogous …

linux command-line memory-management
Increasing (or decreasing) the memory available to R processes

I would like to increase (or decrease) the amount of memory available to R. What are the methods for achieving …

r memory-management memory-leaks
Android Studio - How to increase Allocated Heap Size

I've been using Android Studio for 3 months now and one of the apps I started on it has become fairly …

android memory-management crash out-of-memory android-studio
How to get current memory usage in android?

I have used /proc/meminfo and parsed command response.however it result shows that : MemTotal: 94348 kB MemFree: 5784 kB means. it …

android memory-management
What is the difference between new/delete and malloc/free?

What is the difference between new/delete and malloc/free? Related (duplicate?): In what cases do I use malloc vs …

c++ memory-management
@property retain, assign, copy, nonatomic in Objective-C

As someone that's new to Objective-C can someone give me an overview of the retain, assign, copy and any others …

ios objective-c iphone memory-management