What is the Heap memory?

What is the Heap memory?



A region of your computer's memory that is NOT automatically managed for you, and is not as tightly managed by the CPU. It is a more free-floating region of memory (and larger). To allocate memory on the Heap (in C), you must use function calls such as malloc( ) or calloc( ), which are built-in C functions. Once you have allocated memory on the heap, you are responsible for using free( ) to deallocate that memory once you don't need it anymore. If you fail to do this, your program will have a memory leak, which means memory will still be set aside and unavailable for your other processes.

Popular posts from this blog

After analyzing the model, your manager has informed that your regression model is suffering from multicollinearity. How would you check if he's true? Without losing any information, can you still build a better model?

Is rotation necessary in PCA? If yes, Why? What will happen if you don't rotate the components?

What does Latency mean?