Category "heap-memory"

How to free a malloc 2D array in C initialiszed in this way?

I have declared a 2D malloc array like this in C: int** pArray; int i; pArray=(int**)malloc(pRows*sizeof(int*)); for(i=0;i<pRows;i++)

EDI to XML Huge file conversions

I am converting an EDI file to XML. However my input file which happens to also be in BIF is approximately 100Mb is giving me a JAVA out of memory error. I trie

Java OOMs on ignite server nodes although onheap enabled

In our project we are currently (still) using Apache Ignite 2.81. We are currently facing OOMs on server nodes when multiple clients are simultaneously fetching

Why Android Studio profiler heap dump showing about 7x overhead for an arraylist?

I was wondering and testing object's memory allocation on Android/Java and found something strange happening on heap, well maybe it's just normal. Here is what

addressSanitizer: heap-buffer-overflow on address

I am at the very beginning of learning C. I am trying to write a function to open a file, read a BUFFER_SIZE, store the content in an array, then track the cha

Object structure visualized in memory

I am trying to picture the way how Javascript object is placed in the memory. Since it is an object, it is stored on the heap part of the memory. It is also a

Elasticsearch OutOfMemoryError Java heap space

I am running an 8 cores, 32g RAM elasticsearch node with 5 shards, 400 million (small) documents. Everything works great until I run an agg search, then shards

How to check c++ pointer pointing to invalid memory address?

Is there anyone show me how to check my pointer is pointing to an invalid memory address. #include<iostream> class Node{ public: int data; Node * ne