Questions tagged [off-heap]

28 questions
1
vote
1 answer

Ignite's off-heap storage's working and advantages over heap storage

I understand off-heap storage helps in avoiding long GC pauses, but I want to know how java serializes objects while storing on heap and how ignite serializes while storing off-heap?, like GC is run to free up space, what happens when off-heap is…
1
vote
1 answer

Java-Does mappedbytebuffer occupy direct memory?

I am curious whether the mappedbytebuffer occupies direct memory in Java? As mentiond in here A direct byte buffer may also be created by mapping a region of a file directly into memory When I map a file into memory, the direct memory should be…
Jenson
  • 87
  • 5
1
vote
1 answer

apache geode 9.0.3 off heap region, xml configuration

How can i declare a region to be Off heap, via xml configuration using apache geode 9.0.3 my xml configuration is in server-cache.xml as.
dmc
  • 401
  • 4
  • 14
0
votes
1 answer

What is Spark Peak Execution Memory OffHeap?

Spark Version: 3.3 I don't set spark.memory.offHeap.enabled. From official document, it means spark.memory.offHeap.enabled=false(default). But in Spark-History UI, i found that "Spark Peak Execution Memory" is not zero. Here offheap means executor…
gang
  • 1
0
votes
0 answers

EhCache 3 : Too many items getting evicted from off heap store even though there is enough space off heap

I have the ehcache configuration that stores items offheap for 4G size. I do see a lot of items start to evict at around 100000 items in the cache even though cache occupied size is around 2.9G (out of 4G allocated). The constant stream of evictions…
dogfish
  • 2,646
  • 4
  • 21
  • 37
0
votes
2 answers

Java In-memory Distributed Linked List

I have a requirement to have data In memory and distributed across nodes, I could see Hazelcast and Apache Ignite support JCache and Key value pairs. But distributed by its own algo (like Hashing) My requirement is data(element) should be sorted by…
0
votes
0 answers

Using java off heap memory and compatibility

In Java 8 I'm using the following code to allocate and manage off-heap memory. try { String text = "test"; buffer.put(text.getBytes(StandardCharsets.UTF_8)); } finally { // Release the memory …
wbibile
  • 19
  • 3
0
votes
0 answers

Off Heap storage of downloaded large files

I have multiple huge files (around 10-12 files, 1-2Gb each) that need to be downloaded every hour. I store them as a Hashmap, where the key is the file version, and the value is the file contents in list of strings. The problem we face is that every…
Sarthak Agarwal
  • 404
  • 1
  • 3
  • 13
0
votes
1 answer

Is Off-heap memory is a Java/JVM standard?

I am reading HBase docs and came across the Off-heap read path As far as I understand this Off-heap is a place in memory where Java stores bytes/objects outside the reach of the Garbage Collector. I also went to search for some libs that facilitate…
Adelin
  • 18,144
  • 26
  • 115
  • 175
0
votes
1 answer

Java off heap memory and huge pages

When allocating off-heap memory in Java (through direct buffers, or JNI native code for example), will the allocated memory be backed by huge pages if the JVM is using -XX:+UseLargePages ?
user36568
  • 67
  • 4
0
votes
1 answer

JVM memory usage more than reported by OS

I have a JVM which reports committed heap memory as around 8GB (Other sections should be over and above this). But my OS shows memory usage as around 5GB. I understand the memory usage can be more than the committed memory due to non-heap, metaspace…
Aditya
  • 2,148
  • 3
  • 21
  • 34
0
votes
1 answer

EHCache heap and off-heap evaluate resources enough to use?

EHCache version 3.2 How do I evaluate "ehcache:resources" ? File: ehcache.xml java.lang.String org.cache.messageCacheBean
bamossza
  • 3,676
  • 1
  • 29
  • 28
0
votes
1 answer

MapDB, serializers and compression

I'm researching into off-heap cache and can't seem to find much information/benchmarks on memory consumption on-heap vs. off-heap (still in memory). I'm planning to use MapDB. Documentation indicates that compression can be applied on serialized…
MeIr
  • 7,236
  • 6
  • 47
  • 80
1
2