heap-memory
Successive CMS collections using ConcMarkSweepGC
Starting Tomcat with the following JVM options on Linux (2cpu, 4g RAM, 800M ehcache element): -Xmn512m[详细]
2023-03-16 03:42 分类:问答Why should C++ programmers minimize use of 'new'?
I开发者_JAVA百科 stumbled upon Stack Overflow question Memory leak with std::string when using std::list<std::string>, and one of the comments says this:[详细]
2023-03-15 23:54 分类:问答static objects vs. stack- & heap- based objects
I came across the following definition: A static object is one that exists from the time it is constructed and created until the end of the program. Stack- and Heap- based objects are thus excluded.[详细]
2023-03-15 23:00 分类:问答Android Eclipse: Preparing a .hprof file for use with MAT
I am trying to use MAT to analyze a file from my Android App. with I am doing the following Running my application on my phone[详细]
2023-03-15 13:51 分类:问答Java: Filling in-memory sorted batches
So I\'m using Java to do multi-way external merge sorts of large on-disk files of line-delimited tuples. Batches of tuples are read into a TreeSet, which are then dumped into on-disk sorted batches. O[详细]
2023-03-15 06:58 分类:问答collect heap dump in java 1.4.0 in windows
I am trying to collect heap dump for my application. It\'s running a java 1.4.0 on Windows platform. The option like -xxheapdump options won\'t work. Do v have any tool to开发者_如何学C achieve this.[详细]
2023-03-15 05:23 分类:问答Is it bad manners to return a heap allocated pointer from a function?
Before boost::shared_ptr, was it considered a bad practice to return a heap allocated point开发者_运维问答er from a function, since the caller will be required to remember to free() that object?[详细]
2023-03-14 22:57 分类:问答Running out of memory for 2D arrays in C++/CLI?
I\'m dealing with 10 of arrays, some of which are doubles 1024x1392. I\'ve tried to dynamically allocate them on the heap with:[详细]
2023-03-14 07:49 分类:问答Haskell Heap Issues with Parameter Passing Style
Here\'s a simple program that blows my heap to Kingdom Come: intersect n k z s rs c c == 23= rs x == y= intersect (n+1) (k+1) (z+1) (z+s) (f : rs) (c+1)[详细]
2023-03-14 06:26 分类:问答Can't change tomcat 7 heap size
I have set the heap size of tomcat 7 by adding the following line in catalina.sh export CATALINA_OPTS=\"-Xms512m -Xmx1024m\"[详细]
2023-03-13 18:03 分类:问答