PSP Hacks - Forums

Go Back   PSP Hacks - Forums > PSP Community > PSP Programming & Development

Notices

Reply
 
Thread Tools Display Modes
  #1  
Old 07-30-2009, 11:05 PM
SG57's Avatar
SG57 SG57 is offline
Homebrew Idol 2 Winner
PSP Guru
 

Join Date: Apr 2007
Location: Washington
Posts: 1,568
SG57 Has a Beginner Reputation
Default

First post needs updating badly lol
__________________
...at what speed must I live.. to be able to see you again?...

Win money while playing Kitten Cannon!

Check out all my work on my new site - from Kitten Cannon to Boxhead to Light Cycle 3D
Reply With Quote
  #2  
Old 08-02-2009, 05:07 PM
pirata nervo pirata nervo is offline
Moderator
PSP Titan
 

Join Date: Mar 2007
Location: www.consoleworld.net
Posts: 5,556
pirata nervo is on a distinguished road
Default

Yeah but I can't keep up with so many things. So I'll either remove the applications/games list or psdonkey must find someone to help me. I have a forum as well and some programming things to do and can't spend much time adding things to the first post
__________________

Reply With Quote
  #3  
Old 08-17-2009, 06:21 PM
pirata nervo pirata nervo is offline
Moderator
PSP Titan
 

Join Date: Mar 2007
Location: www.consoleworld.net
Posts: 5,556
pirata nervo is on a distinguished road
Default

I've removed all homebrew releases from the first post as they were all outdated (the links) and I didn't feel like searching for 100 threads and replace all links so it's just development now. I've added some new development threads too
__________________

Reply With Quote
  #4  
Old 09-22-2009, 02:54 AM
HyperHacker's Avatar
HyperHacker HyperHacker is offline
Programmer
PSP Enthusiast
 

Join Date: Nov 2008
Location: Midwest Alberta
Posts: 313
HyperHacker is on a distinguished road
Default

How do people recommend tracking down a slow memory leak? I don't think I can use Valgrind on a PSP app. No idea where it's leaking and it takes hours for it to actually crash.
__________________
>> PSP-2001 running 5.00m33-6, 4GB Lexar memory stick
Luna is not dead, it just has a todo list a mile long. My website is, though. But it will return, someday... >_>

Reply With Quote
  #5  
Old 09-24-2009, 07:37 AM
Brick Brick is offline
I am Flame Master
PSP Titan
 

Join Date: Mar 2005
Location: *this
Posts: 42,229
Brick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond reputeBrick has a reputation beyond repute
Default

Quote:
Originally Posted by HyperHacker View Post
How do people recommend tracking down a slow memory leak? I don't think I can use Valgrind on a PSP app. No idea where it's leaking and it takes hours for it to actually crash.
Obviously , you allocate *something* *somewhere*(((im a genius :-P))) that never gets deleted.

There are 2 ways to solve this :
1) If you don't have to allocate buffers and your using C++ , just use STL.
2)If you have to do allocations/cleanups manually , then you need a memory tracker with the ability to dump every single entry to a log file or something.

The tracker must hold at least : 1) The data-pointer , 2) The size , 3) The source file , 4) The line of the current source file(just take a look at __FILE__,__LINE__ directives), and must know exactly how many blocks of memory are available, preventing memory allocations out-of-the-limit.

Suggestion before implementing this : Use linked lists to store this information. Don't use static array stacks or dynamic arrays.

Last edited by Brick; 09-24-2009 at 07:52 AM.
Reply With Quote
  #6  
Old 09-23-2009, 10:40 AM
pirata nervo pirata nervo is offline
Moderator
PSP Titan
 

Join Date: Mar 2007
Location: www.consoleworld.net
Posts: 5,556
pirata nervo is on a distinguished road
Default

Not sure what that has to do with this thread buut I don't get what's your problem either
__________________

Reply With Quote
  #7  
Old 10-14-2009, 09:20 PM
Stinkee2's Avatar
Stinkee2 Stinkee2 is offline
Programmer
PSP Smarty
 

Join Date: Jul 2009
Location: int main()
Posts: 190
Stinkee2 is on a distinguished road
Default

jus noiced this but my tutorial for "How To Install MinPSPW with Code::Blocks IDE" is named "Stinkee2 - by Stinkee2" lol

was that an accident?
__________________
-----------------------------------------
View my current project's Progress Here
Reply With Quote
Reply

 



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

Forum Jump


All times are GMT -4. The time now is 09:18 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
©