jeudi 15 mai 2014

Augmenter la mémoire virtuelle de processus continus - Stack Overflow


my application will try to copy file data from one file to another file,so i start 1000 task which will perform this operation then the process virtual memory will increase. My qustion is after the 1000 task is completed and then still i trid to run one task then why virtual memory will incease ?


i used top command to check the process memory usage and even i checked for any memory leak using libumem also.


Please help me to understand why virtual memory will increase.


Adding more data. When i perform the same operation for multiple times, every time there is no increase in the virtual memory but some times there will be increase in the memory. I am not able to understand the reasin for the increase. Even i checked for memory leak also but no memory leak. and the operation include corba calls.




Each "task", whatever that is, of course needs resources to run. Those resources includes memory, both for system structures and for the data you use as well.



my application will try to copy file data from one file to another file,so i start 1000 task which will perform this operation then the process virtual memory will increase. My qustion is after the 1000 task is completed and then still i trid to run one task then why virtual memory will incease ?


i used top command to check the process memory usage and even i checked for any memory leak using libumem also.


Please help me to understand why virtual memory will increase.


Adding more data. When i perform the same operation for multiple times, every time there is no increase in the virtual memory but some times there will be increase in the memory. I am not able to understand the reasin for the increase. Even i checked for memory leak also but no memory leak. and the operation include corba calls.



Each "task", whatever that is, of course needs resources to run. Those resources includes memory, both for system structures and for the data you use as well.


0 commentaires:

Enregistrer un commentaire