heap-memory
Maintaining a free list in a malloc implementation
开发者_JAVA百科I\'m trying to implement malloc for my Operating Systems class, and I was wondering about the advantages of maintaining a doubly linked list of free memory blocks as opposed to a singly[详细]
2023-04-13 03:16 分类:问答Increase speed of JAVA program for Machine Learning
I am doing machine learning in java using GATE Learning. I have a huge data set of documents to learn from. While using netbeans, I was getting java heap space error. So I provided 1600MB in the -Xmx[详细]
2023-04-12 17:05 分类:问答What's the most efficient way to write large text file in java?
I\'m trying to write a file with some amount of data using this: public static <T extends SomeClass> void writeFile(String buffer, Class<T> clazz, int fileNumber) {[详细]
2023-04-12 14:11 分类:问答Heap Overflow Issue when implementing and using the Printable interface
So I\'ve written the class below, and it works, but we are getting some heap overflow problems when using this. The images are limited to 5 mb each. Anyone have an idea on how to solve overflowing the[详细]
2023-04-12 00:14 分类:问答2D Matrix allocation on heap in c++
I am looking for a way to allocate a 2D (m x n) matrix on the heap where the elements are consecutive in memory. Currently I know of two ways to accomplish that:[详细]
2023-04-11 22:24 分类:问答Valgrind: understanding output (HEAP SUMMARY is ok, ERROR SUMMARY is confusing)
I read a number of messages on this topic but this is a little different because I have NO heap errors (I cleaned everything up nicely - yay).But, I still see 166 errors in the error summary.[详细]
2023-04-11 18:06 分类:问答Glassfish V2.1.1 Heap size never decrease after server batch job
I\'ve set up a glassfish cluster with 1 DAS and 2 Node Agents. The system has TimedObjects which are batched once a day. As glassfish architecture, there is only 1 cluster instance allowed to trigger[详细]
2023-04-11 03:31 分类:问答What is the largest possible heap size with a 64-bit JVM?
The theoretical maximum heap value that can be set with -Xmx in a 32-bit system is of course 2^32 bytes, but typically (see: Understanding max JVM heap size - 32bit vs 64bit) one cannot use all 4GB.[详细]
2023-04-11 03:26 分类:问答I can't understand why this program prints 8762 as a result [duplicate]
This question already has answers here: Closed 11 years ago. Possible Duplicate: Can a local variable's memory be accessed outside its scope?[详细]
2023-04-11 01:13 分类:问答What is the memory overhead for analyzing a heap with jhat?
jhat is a great tool for analyzing Java heap dumps, but for large heaps its easy to waste a lot of time. Give jhat a runtime heap too small, and it may take 15 minutes to fail and run out of memory.[详细]
2023-04-10 18:50 分类:问答