Skip to content
IT Nursery
  • Home
  • Programming
    • Mac / IOS
    • Android
    • Web Applications
    • PHP
    • Java
    • C
    • C++
  • DataBase
    • MySQL
  • CMS
    • WordPress
  • System and Network
    • Serverfault

heap-memory

Difference between “on-heap” and “off-heap”

by IT Nursery

Ehcache talks about on-heap and off-heap memory. What is the difference? What JVM args are used to configure them? Best Answer 6

Tags ehcache, heap-memory, java, memory, off-heap

Setting variable to NULL after free

by IT Nursery

In my company there is a coding rule that says, after freeing any memory, reset the variable to NULL. For example … void … Read more

Tags c, coding-style, free, heap-memory, malloc

Using HeapDumpOnOutOfMemoryError parameter for heap dump for JBoss

by IT Nursery

I was told I can add the -XX:+HeapDumpOnOutOfMemoryError parameter to my JVM start up options to my JBoss start up script to get … Read more

Tags heap-memory, java, jboss, memory-leaks

When vectors are allocated, do they use memory on the heap or the stack?

by IT Nursery

Are all of the following statements true? vector<Type> vect; //allocates vect on stack and each of the Type (using std::allocator) also will be … Read more

Tags c, heap-memory, stack-memory, stl, vector

How to find Java Heap Size and Memory Used (Linux)?

by IT Nursery

How can I check Heap Size (and Used Memory) of a Java Application on Linux through the command line? I have tried through … Read more

Tags heap-memory, java, linux, memory, performance

Why are two different concepts both called “heap”? [duplicate]

by IT Nursery

This question already has answers here: What’s the relationship between “a” heap and “the” heap? (10 answers) Closed 10 months ago. Why are … Read more

Tags c, heap, heap-memory, terminology

Stack vs heap allocation of structs in Go, and how they relate to garbage collection

by IT Nursery

I’m new to Go and I’m experiencing a bit of cognitive dissonance between C-style stack-based programming where automatic variables live on the stack … Read more

Tags go, heap-memory, stack-memory

What is memory fragmentation?

by IT Nursery

I’ve heard the term “memory fragmentation” used a few times in the context of C++ dynamic memory allocation. I’ve found some questions about … Read more

Tags c, fragmentation, heap-memory, memory

How do I analyze a .hprof file?

by IT Nursery

I have a production server running with the following flag: –XX:+HeapDumpOnOutOfMemoryError Last night it generated a java-38942.hprof file when our server encountered a … Read more

Tags heap-memory, java, profiling

java.lang.OutOfMemoryError: GC overhead limit exceeded [duplicate]

by IT Nursery

This question already has answers here: Error java.lang.OutOfMemoryError: GC overhead limit exceeded (22 answers) Closed 2 years ago. I am getting this error … Read more

Tags g1gc, hashmap, heap-memory, java
Older posts
Page1 Page2 Next →

Recent Posts

  • Advice for improving internal dashboard [closed]
  • grep : ‘+’ special character
  • File location for Syslogs in Centos machine
  • How to collect users’ task completion times?
  • “service {FOO} start” vs. “/etc/init.d/{FOO} start”? [closed]
IT Nursery
Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.

Important Link

  • About
  • Privacy Policy
  • Contact

IT Nursery

The Goal of ITNursery Engaging the world to foster innovation through aggregate information. Our Question Answer post, blog information, products and tools help developers and technologists in life and at work.

copyright © 2023 All Right Reserved | IT NurSery