Go Back   nV News Forums > Linux Support Forums > NVIDIA Linux

Newegg Daily Deals

Reply
 
Thread Tools
Old 05-20-03, 02:45 PM   #1
smellinet
Registered User
 
Join Date: May 2003
Posts: 2
Angry RH9(2.4.20-9) and 4363 - MEMORY LEAK

MY config
CPU
model name : Intel(R) Pentium(R) 4 CPU 1.80GHz

Video card:
Model: GeForce4 Ti 4400
IRQ: 11
Video BIOS: 04.25.00.22.45
Card Type: AGP

XFree86 version: 4.3.0

This dirver release works fine for me, BUT
the X11 server eat a lot of memory ( more than 600 MB) after 30 minutes .

It's very easy to reproduce;
launch gtk-demo and resize very fast the window of main application.
After a lot of times of resize , the X11 server is VERY VERY big .

NB: i use gnome desktop with background picture on my desktop.

I have not this problem with the previous version of Nvidia driver.


Thank for your response.
smellinet is offline   Reply With Quote
Old 05-20-03, 04:41 PM   #2
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

I assume you've read the FAQ section of the README, where the "my X server is using a lot of memory!" question is answered?

Might be worth running the pmap program that that FAQ references...

Is it still using the memory after you exit gtk-demo?
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Old 05-20-03, 05:05 PM   #3
smellinet
Registered User
 
Join Date: May 2003
Posts: 2
Default

1 - Yes i use pmap for the memory statistics

2 - After quit the gtk-demo , the memory does'nt decrease.

3 - I FIND THE SOURCE OF MY PROBLEME :
The problem exist when i use animated cursor
(Theme Silver-XCursors-3D-0.3).

Conclusion:
Memory leak exist with animated cursor.
But , i d''ont known if the problem occur in
source code NVIDIA or XFree86.
smellinet is offline   Reply With Quote
Old 05-21-03, 12:51 PM   #4
tbdombrosky
Registered User
 
Join Date: May 2003
Posts: 11
Default

Quote:
Originally posted by bwkaz
I assume you've read the FAQ section of the README, where the "my X server is using a lot of memory!" question is answered?

Might be worth running the pmap program that that FAQ references...

Is it still using the memory after you exit gtk-demo?
What FAQ entry were you referring to? I can't find it on the README for 4363. I'm having a similar problem with memory leaks.

Tom
tbdombrosky is offline   Reply With Quote
Old 05-21-03, 05:02 PM   #5
bwkaz
Registered User
 
Join Date: Sep 2002
Posts: 2,262
Default

It's in this readme:

ftp://download.nvidia.com/XFree86/Li...363/README.txt

To quote the specific question and the answer:

Quote:
Q: Why does X use so much memory?

A: When measuring any application's memory usage, you must be
careful to distinguish between physical system RAM used and virtual
mappings of shared resources. For example, most shared libraries exist
only once in physical memory but are mapped into multiple processes.
This memory should only be counted once when computing total memory
usage. In the same way, the video memory on a graphics card or
register memory on any device can be mapped into multiple processes.
These mappings do not consume normal system RAM.

This has been a frequently discussed topic on XFree86 mailing
lists; see, for example:

http://marc.theaimsgroup.com/?l=xfre...5767116567&w=2

The `pmap` utility described in the above thread and available here:

http://web.hexapodia.org/~adi/pmap.c

is a useful tool in distinguishing between types of memory mappings.
For example, while `top` may indicate that X is using several hundred
MB of memory, the last line of output from pmap:

mapped: 287020 KB writable/private: 9932 KB shared: 264656 KB

reveals that X is really only using roughly 10MB of system RAM
(the "writable/private" value).

Note, also, that X must allocate resources on behalf of X clients (the
window manager, your web browser, etc); X's memory usage will increase
as more clients request resources such as pixmaps, and decrease as
you close X applications.
__________________
Registered Linux User #219692
bwkaz is offline   Reply With Quote
Reply


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 09:07 AM.


Powered by vBulletin® Version 3.7.1
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Copyright 1998 - 2014, nV News.