Welcome to Linux Forums! With a comprehensive Linux Forum, information on various types of Linux software and many Linux Reviews articles, we have all the knowledge you need a click away, or accessible via our knowledgeable members.
Find the answer to your Linux question:
New to Linux Forums? Register here for free!
    Linux Forums > GNU Linux Zone > Wine > Wine has massive memory leaks?

Forgot Password?
 Wine   Discussion about Wine, the Open Source implementation of the Windows API on top of X and Unix.

Site Navigation
Linux Articles
Linux Forums
Linux Downloads
Linux Hosting
Free Magazines
Job Board
IRC Chat
RSS Feeds


Linux Forum Topics
Linux Forums
Your Distro
Linux Resources
GNU Linux Zone
The Community
Reply
 
Thread Tools Display Modes
Old 05-23-2008   #1 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 23
Wine has massive memory leaks?

Hi
Today I tried to run some games with wine on my Asus Eee PC 900. Just really old games because the Eee is not made for gaming :P
Started some, most didn't work at all, I didn't even get a message "Wine has exited with status x - Done/Show Log/...".
Some gave me this message, and 2 even worked (Battle Painter and Armagetron Advanced).

Then the whole laptop was lagging, I started task manager and saw: 990Mb of 1000Mb used... Although nothing was running. Checked the task list, antivirus took 20Mb, this X11 250Mb, and all the other processes were below 1Mb, so nothing which should fill my whole giga byte...

Is Window's Garbage Collector missing or what is the problem? I think it just didn't dispose all the textures and stuff...
multimolti is offline  


Reply With Quote
Old 05-23-2008   #2 (permalink)
/etc/init.d/moderator
 
bigtomrodney's Avatar
 
Join Date: Nov 2004
Location: Sunny South-East of Ireland
Posts: 6,038
Memopry management in Linux and indeed Unix in general is different to Windows. Windows struggles to free memory as if this improved performance whereas Unix-like systems use the resources available to them for running and caching information that may be useful later. Whether you have 128MB or 3GB of RAM, the target is ~95% usage. Why have something and not use it? RAM is a lot faster than paging, so don't worry about that.

I'd imagine the reason you're choking is because you are weighing down X on a really light machine. It's most likely the X server that's having trouble as opposed to the whole system.

Oh and for what it's worth, Armagetron is an open source OpenGL game and is available for Linux natively. That should save the messing with Wine.
__________________
Registered Linux user #378740
New members read here / Forum Rules
#linuxforums on irc.freenode.net
bigtomrodney is offline   Reply With Quote
Old 05-23-2008   #3 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 23
Ok, thank you for the information, I always want to learn more about linux. And thanks for the tip with the Linux version of Armagetron...

So I don't have to worry when all my memory is used, when I start a new application, it will get memory somehow?
multimolti is offline   Reply With Quote
Old 05-23-2008   #4 (permalink)
Just Joined!
 
Join Date: May 2008
Posts: 23
And I can't run the Linux version of Armagetron =(

Downloaded the Ubuntu one for my Xandros, this is what I get:

Code:
asus-1884754377:/home/user/My Documents/My Downloads> dpkg -i armagetron.deb
Selecting previously deselected package armagetronad.
(Reading database ... 72389 files and directories currently installed.)
Unpacking armagetronad (from armagetron.deb) ...
dpkg: dependency problems prevent configuration of armagetronad:
 armagetronad depends on libc6 (>= 2.5-0ubuntu1); however:
  Version of libc6 on system is 2.3.6.ds1-13etch5.
 armagetronad depends on libgcc1 (>= 1:4.1.2); however:
  Version of libgcc1 on system is 1:4.1.1-21.
 armagetronad depends on libstdc++6 (>= 4.1.2); however:
  Version of libstdc++6 on system is 4.1.1-21.
dpkg: error processing armagetronad (--install):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 armagetronad
When I tried to update my libraries:

Code:
asus-1884754377:/home/user/My Documents/My Downloads> apt-get install libgcc1
Reading package lists... Done
Building dependency tree... Done
libgcc1 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 187 not upgraded.
What can I do?
multimolti is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Free Magazines
Run Your Own Web Server Using Linux & Apache - Free 191 Page Preview
Learn about everything you'll need to build and maintain your Linux servers, and to deploy Web applications to them.
subscribe
Open Source Security Myths Dispelled
Dispel the five major myths surrounding Open Source Security and gain the tools necessary to make a truly informed decision for your IT organization
subscribe
InformationWeek
InformationWeek is the only newsweekly you'll need to stay on top of the latest developments in information technology.
subscribe



All times are GMT. The time now is 11:11 AM.






© 2000 - 2009 - All Rights Reserved - Property of  MAS Media

Content Relevant URLs by vBSEO 3.3.0 RC2