heap-memory
Declaring vector as global variable in C++
Is it a good practice to declare a vector as global in C++? This is what I did. #include <vector>[详细]
2023-04-07 10:25 分类:问答How can I see Objects Inside Heap & Stack in C#.Net
Is it possible to see contents of stack and heap after every line of execution. I want to seeit as it will give clear idea about memory allocation and开发者_StackOverflow deallocation in .Net. With yo[详细]
2023-04-07 03:31 分类:问答C# out-parameter
What is the difference between the following two code snippets? public void foo(out classA x) { y = new classA();[详细]
2023-04-06 03:30 分类:问答Heap or Stack? When a constant string is referred in function call in C++
Consi开发者_如何学Goder the function: char *func() { return \"Some thing\"; } Is the constant string (char array) \"Some thing\" stored in the stack as local to the function call or as global in th[详细]
2023-04-05 10:59 分类:问答What's my JVM Heap Size?
How do I determine the JVM heap size default 开发者_运维问答values?? Note that I\'m not interested in setting or modifying its initial, minimum, or maximum size before/while running my application. I[详细]
2023-04-05 05:06 分类:问答When does 'Reference object' can be reclaimed?
Now, I met a strange case likes that: public class SoftRefDemo { private static List<SoftReference<String>> cache;[详细]
2023-04-04 23:11 分类:问答What allocating method to use for a high volume logger application?
I\'m deve开发者_C百科loping a logger/sniffer using Delphi. During operation I get hugh amounts of data, that can accumulate during stress operations to around 3 GB of data.[详细]
2023-04-04 21:00 分类:问答Inside Dynamics memory management
i am student and want to know more about the dynamics memory management. For C++, calling operator new() can allocate a memory block under the Heap(Free Store ). In fact, I have not a full picture how[详细]
2023-04-04 02:43 分类:问答Setting Java Heap Size under Apache Karaf
I apologize if this is a du开发者_开发百科plicate, but I can\'t seem to find this answered anywhere.[详细]
2023-04-03 20:02 分类:问答Heap Violations when releasing a CStringArray& parameter from a DLL exported function
I have developed a MFC dll containing a function having this prototype: //DLL code long __declspec(dllexport) GetData(CString csIdentifier, CStringArray& arrOfData)[详细]
2023-04-03 06:18 分类:问答