-
as seen on Stack Overflow
- Search for 'Stack Overflow'
On solaris i can run the pmap command on a core file to get the memory map of a crashed process. Unfortunately the pmap command available on HPUX and Linux doesn't provide this option. Any pointers how i can get this information on these platforms?
Thanks!
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I am doing a pmap on a tomcat process and I am seeing some huge anon blocks. From what I read anon blocks are used for thread stacks and for JNI. I have a very moderate thread count. How can I go about finding out what is causing these huge anon blocks?
00000000ee0d0000 26752K rwx-- [ anon ]
00000000efaf0000…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I am actually a young junior sys admin.
I have a question - i am trying to understand how linux deals with memory... while playing around different monitoring programs I found some strange thing.
When I run top on my laptop it shows me that FIREFOX process with pid 8778 takes 18,3% of memory (%MEM…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
Hi,
I have one map within one header file class:
class One
{
// code
typedef map<string, int> MapStrToInt
inline MapStrToInt& GetDetails(unsigned long index)
{
return pData[index];
}
// populate pData....
private:
MapStrToInt *pData;
};
And a second class which implements another…
>>> More
-
as seen on Stack Overflow
- Search for 'Stack Overflow'
I have a function which creates an array of Maps:
map<string, int> *pMap
And a function which writes maps to the array:
int iAddMap(map<string, int> mapToAdd, map<string, int> *m, int i)
{
m = &(pMap[i]);
memcpy(m, mapToAdd, sizeof(map<string, int>));
}
And…
>>> More