Memory footprint of my app?

Just starting out? Need help? Post your questions and find answers here.
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Memory footprint of my app?

Post by pdwyer »

In a competition I'm entering there is a 350mb memory footprint limit while running which given the data searching going on is easy to fill.
As I iterate and recurse I'd like to watch my overall memory usage to see if I'm getting near that number.

Is there a PB command or windows API that can let me know my current footprint size?

(note, this is not about the size if the exe on disk etc. there are limits for that too but I have that under control)
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
User avatar
Keya
Addict
Addict
Posts: 1890
Joined: Thu Jun 04, 2015 7:10 am

Re: Memory footprint of my app?

Post by Keya »

User avatar
JHPJHP
Addict
Addict
Posts: 2268
Joined: Sat Oct 09, 2010 3:47 am

Re: Memory footprint of my app?

Post by JHPJHP »

Hi pdwyer,

Windows Services & Other Stuff\Other_Stuff\ProcessStuff\GetProcessMemoryInfo.pb
Last edited by JHPJHP on Mon Mar 15, 2021 2:42 am, edited 1 time in total.

If you're not investing in yourself, you're falling behind.

My PureBasic StuffFREE STUFF, Scripts & Programs.
My PureBasic Forum ➤ Questions, Requests & Comments.
User avatar
pdwyer
Addict
Addict
Posts: 2813
Joined: Tue May 08, 2007 1:27 pm
Location: Chiba, Japan

Re: Memory footprint of my app?

Post by pdwyer »

You guys rock! 8)

Thanks!
Paul Dwyer

“In nature, it’s not the strongest nor the most intelligent who survives. It’s the most adaptable to change” - Charles Darwin
“If you can't explain it to a six-year old you really don't understand it yourself.” - Albert Einstein
Post Reply