Build Your Own Arcade Controls Forum

Main => Software Forum => Topic started by: Random24 on August 15, 2002, 03:15:33 pm

Title: Thank you Howard!!
Post by: Random24 on August 15, 2002, 03:15:33 pm
I love the new FE.  My only problem has been the memory footprint.  It was idling at 125MB!  I didn't want to complain though because it was a new program and I know that optomization usualy comes last.  I will definitely be downloading the new beta tonight when I get home from work. ;D ;D
Title: Re:Thank you Howard!!
Post by: SirPoonga on August 15, 2002, 03:37:05 pm
You sure about that number?
If so how long was lazarus running, maybe there is a memory leak.

I just started it.  2.9meg while idling.  The weird thing, as soon as I ran a game it jumped DOWN to 500k.
Title: Re:Thank you Howard!!
Post by: Demon-Seed on August 15, 2002, 07:11:28 pm
I agree this is going to be the best FE once its bugs are perfected! Its an excellent FE and thanks Howard!! I know we complain and report bugs a lot but we appreciate all of your great efforts! Please keep it up.
Title: Re:Thank you Howard!!
Post by: Random24 on August 15, 2002, 09:33:17 pm
Well, I got the new beta and it's still using 122,000kb of memory. :-\  It works great though.  I've got a Duron 850 with 512MB RAM on a Gigabyte GA-7IXE4 MB. My OS is XP Pro and I replaced explorer.exe with Lazarus.exe in the registry so it would start right up with no other crap.
Title: Re:Thank you Howard!!
Post by: jaquer on August 15, 2002, 11:56:33 pm
You don't say... I just checked, I also get 126K idle. Maybe we have too many games... hehehehe.

I have a very similar setup (shell replacement and everyhting). Dunno, like you said before, optimization will come later.

For now I would love to be able to figure out how to add other games (PC games, external apps) to the list. Oh, and a .dat maker that could make dats for an entire directory but that will read other filetyes (like .bin for Atari 2600). Do you think this is doable Howard? Because I've been looking into coding my own solution, but I would hate to work on something that you might be doing already.
Title: Re:Thank you Howard!!
Post by: SirPoonga on August 16, 2002, 12:44:58 am
you mean 127meg, not k?
Title: Re:Thank you Howard!!
Post by: Howard_Casto on August 16, 2002, 03:14:46 am
Thanks guys, way to make my head even more swelled.  ;D

Regarding memory issues....  I let vb use it's own memory managers to manage lazarus.  How it works is this:  

If your machine has a lot of ram (256+) it loads a bunch of working space in the memory for all of the various flags and things.  This makes it "faster" according to m$ standards.  If you have less ram it writes it to a temp file (virtual memory.)  There is really nominal speed difference as it takes rather small bits of data at a time.  

But none of this matters because once a game is launched the memory is dumped and it goes into sleep mode until the game is finished... thus the 500k that sirp mentioned.  

I hope that clears that up, and oh yeah the amount of memory consumed is dependants upon the amount of games you have and the size of the artwork.  My memory usage can get rather large sometimes too. ;)