Gamestudio Links
Zorro Links
Newest Posts
New Zorro version 2.30
by jcl. 08/14/20 12:48
Reducing Function Times
by txesmi. 08/14/20 12:13
2 questions
by danatrader. 08/14/20 10:05
NeoDumont's open world treadmill project
by NeoDumont. 08/13/20 23:33
Corvitextu texture browser released...
by NeoDumont. 08/13/20 23:19
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 08/13/20 12:00
AUM Magazine
Latest Screens
Untitled Walking Simulator
The Space Between
Pogostuck: Rage With Your Friends
Worst Case Z
Who's Online Now
9 registered members (txesmi, kvm, 3run, alibaba, danatrader, Superku, AndrewAMD, Dooley, 1 invisible), 482 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
Janusz, Sovattha, DonSergio, bigimpactsound, tzw101
18492 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Locating unfreed memory #480697
06/29/20 18:12
06/29/20 18:12
Joined: Sep 2009
Posts: 952
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 952
Budapest
At the end of acklog.txt I can see the following few lines.
Quote
Unfreed: 1122, CAT, 8 bytes
Unfreed: 1225, CAT, 12 bytes
Unfreed: 1294, CAT, 12 bytes
Unfreed: 1333, CAT, 12 bytes
Unfreed: 1410, CAT, 12 bytes
Unfreed: 1571, CAT, 12 bytes
Unfreed: 1586, CAT, 12 bytes
Unfreed: 1605, CAT, 8 bytes

What is CAT? How can I locate the memory addresses that aren't freed by the code?
Thanks in advance.

Re: Locating unfreed memory [Re: Aku_Aku] #480707
07/01/20 14:21
07/01/20 14:21
Joined: Oct 2008
Posts: 673
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 673
Germany
I guess, you used sys_marker in your code (to localize unfreed memory) or your using of 3D Gamestudio functions is wrong.

Last edited by Ayumi; 07/03/20 11:24.
Re: Locating unfreed memory [Re: Aku_Aku] #480716
07/02/20 12:45
07/02/20 12:45
Joined: Sep 2009
Posts: 952
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 952
Budapest
Yes, both of them are true smile

I am struggling with memory issues, I am considering to change the title of the topic.

Re: Locating unfreed memory [Re: Aku_Aku] #480717
07/02/20 14:39
07/02/20 14:39
Joined: May 2005
Posts: 773
Chicago, IL
Dooley Online
User
Dooley  Online
User

Joined: May 2005
Posts: 773
Chicago, IL
sys_marker creates unfreeable memory?

Re: Locating unfreed memory [Re: Dooley] #480724
07/03/20 20:01
07/03/20 20:01
Joined: Sep 2009
Posts: 952
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 952
Budapest
No, definitely doesn't.

Re: Locating unfreed memory [Re: Aku_Aku] #481026
08/02/20 09:43
08/02/20 09:43
Joined: Sep 2003
Posts: 6,858
Kiel (Germany)
Superku Online
Senior Expert
Superku  Online
Senior Expert

Joined: Sep 2003
Posts: 6,858
Kiel (Germany)
The engine sets markers itself. I sometimes come across them in acklogs. I think it's when you mess up memory related stuff. CAT could come from a str_cat instruction (str_cat may need to allocate new memory for a longer string).
The issue might be somewhere else though, because as you know memory issues are a pain.


"Falls das Resultat nicht einfach nur dermassen gut aussieht, sollten Sie nochmal von vorn anfangen..." - Manual

Check out my new game: Pogostuck: Rage With Your Friends
Re: Locating unfreed memory [Re: Superku] #481032
08/02/20 19:31
08/02/20 19:31
Joined: Sep 2009
Posts: 952
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 952
Budapest
Thanks for everybody for the help. Luckily, I was able to eliminate the issue.
Special thanks for solving the meaning of CAT to Superku.


Moderated by  HeelX, Lukas, rayp, Rei_Ayanami, Superku, Tobias, TWO, VeT 

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1