Sponsored Content
Full Discussion: Finding Cause of Memory Leak
Top Forums Web Development Finding Cause of Memory Leak Post 302758053 by Pokeyzx on Friday 18th of January 2013 11:25:53 AM
Old 01-18-2013
Thanks for the replies.

Corona:
I've posted the output of meminfo below. I don't know what sar is, sorry.

Skrynesaver:
I've managed the first bit of your code, but you've lost me at step 2 sorry, I don't know what the core filename or path to executable are.

MemTotal: 3563324 kB
MemFree: 1827040 kB
Buffers: 53532 kB
Cached: 306200 kB
SwapCached: 0 kB
Active: 1404968 kB
Inactive: 150292 kB
Active(anon): 1195840 kB
Inactive(anon): 4724 kB
Active(file): 209128 kB
Inactive(file): 145568 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 4194288 kB
SwapFree: 4194288 kB
Dirty: 3588 kB
Writeback: 0 kB
AnonPages: 1195520 kB
Mapped: 33712 kB
Shmem: 5040 kB
Slab: 95536 kB
SReclaimable: 65852 kB
SUnreclaim: 29684 kB
KernelStack: 1360 kB
PageTables: 22760 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 5975948 kB
Committed_AS: 1752156 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 299972 kB
VmallocChunk: 34359434188 kB
HardwareCorrupted: 0 kB
AnonHugePages: 917504 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 8832 kB
DirectMap2M: 3821568 kB
 

9 More Discussions You Might Find Interesting

1. Programming

about virtual memory and memory leak

Hi, First of all I appreciate this group very much for its informative discussions and posts. Here is my question. I have one process whose virtual memory size increases linearly from 6MB to 12MB in 20 minutes. Does that mean my process has memory leaks? In what cases does the... (4 Replies)
Discussion started by: shriashishpatil
4 Replies

2. UNIX for Advanced & Expert Users

Memory leak while using pthread_cancel()

I tried to execute a sample pthread program to cancel a newly created one using pthread_cancel(). but using valgrind on my code shows some memory leak. My Code: #include "iostream" #include "unistd.h" #include "pthread.h" #include "signal.h" using namespace std; void handler(int); void*... (4 Replies)
Discussion started by: kcr
4 Replies

3. Programming

Memory LEAK with pthreads

I have this code... #include <stdio.h> #include <iostream> #include <pthread.h> static void* cliente(void *datos); int main() { pthread_attr_t tattr; int ret; size_t size = PTHREAD_STACK_MIN + 0x0100; ret = pthread_attr_init(&tattr); ret =... (8 Replies)
Discussion started by: JEscola
8 Replies

4. UNIX for Advanced & Expert Users

Memory leak in pthread

helo frnds, I am using RHEL5 and C lang for development. I am getting some memory leak problem in pthread. I hav developed a program which creates two threads for listening purpose on two diff ports. both the child threads are doing same job but on diff port no. I am using... (4 Replies)
Discussion started by: mindTeaser
4 Replies

5. IP Networking

memory leak?

Hi All, my client server application can work in two modes: 1) one direction - only client sends msgs to server 2) two directions - server gives 'answers' to client. when program run in the first mode it looks OK, but when server answers to client than client's application exit its... (2 Replies)
Discussion started by: lenna
2 Replies

6. Programming

memory leak problem

hi all Can any one plz explain me about memory leak problem Thankx (5 Replies)
Discussion started by: sonali
5 Replies

7. HP-UX

Problem with memory leak

Hi, This is my 1st post here. I am facing a rather weired problem. I have a C++ binary running on HP-UX. The output of top as well as glance shows periodic increase in memory. But when i use gdb to detect it, i dont get the desired output...gdb says...no leaks found. Just to mention that I have... (2 Replies)
Discussion started by: kshk123
2 Replies

8. Programming

Memory Leak

Hi, I am trying a database server which keeps a B+ plus tree structure and works on it. I am trying to find the memory used/leak while executing this process. I check the memory leak by using ps uax command. When i execute a delete query i am sure that my code frees up the existing... (9 Replies)
Discussion started by: kumaran_5555
9 Replies

9. Red Hat

Memory leak

Hi all I am using RED HAT 5.4, and i am getting memory uses problem. when i use "sync;echo 3 > /proc/sys/vm/drop_cache" command the memory will release after 2,3 hour memory show 95%. pls suggest right way. thanks (37 Replies)
Discussion started by: reply.ravi
37 Replies
NEXUIZ-SERVER(6)						   Games Manual 						  NEXUIZ-SERVER(6)

NAME
nexuiz-server - Nexuiz dedicated server SYNOPSIS
nexuiz-server [+set option value] [+exec config] ... DESCRIPTION
nexuiz-server is the Nexuiz dedicated server for the Nexuiz game. OPTIONS
Options passed to the Nexuiz dedicated server after a +set parameter (Note that this is not a full list!) fraglimit_override <value> After how many frags the game should end. This setting will be applied to all following maps maxplayers <value> How many clients can simultaniously connect to this server port <value> The port on which this server should listen for clients. (The default port is 26000). sv_public <bool> 1: Register this server on the master server; 0: Do not register this server on the master server timelimit_override <minutes> After how many minutes a game will end. This setting will be applied to all following maps For more options passed to the Nexuiz binary by the +set and +exec parameter, visit http://www.alientrap.org/nexuiz/. SEE ALSO
nexuiz(6) /usr/share/doc/nexuiz-server AUTHOR
The Nexuiz dedicated server was written by Alientrap. This manual page was written by Bruno "Fuddl" Kleinert <fuddl@debian.org> for the Debian project (but may be used by others). Permission is granted to copy, distribute and/or modify this document under the terms of the GNU General Public License, Version 2 any later version pub- lished by the Free Software Foundation. On Debian systems, the complete text of the GNU General Public License can be found in /usr/share/common-licenses/GPL. January 21, 2006 NEXUIZ-SERVER(6)
All times are GMT -4. The time now is 07:19 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy