Gamestudio Links
Zorro Links
Newest Posts
What are you working on?
by rayp. 10/15/25 20:44
Help!
by VoroneTZ. 10/14/25 05:04
Zorro 2.70
by jcl. 10/13/25 09:01
ZorroGPT
by TipmyPip. 10/12/25 13:58
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 10/11/25 18:45
Reality Check results on my strategy
by dBc. 10/11/25 06:15
AUM Magazine
Latest Screens
Rocker`s Revenge
Stug 3 Stormartillery
Iljuschin 2
Galactic Strike X
Who's Online Now
4 registered members (Quad, AndrewAMD, TipmyPip, 1 invisible), 5,959 guests, and 2 spiders.
Key: Admin, Global Mod, Mod
Newest Members
joenxxx, Jota, krishna, DrissB, James168
19170 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: 1,032
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,032
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: 683
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 683
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: 1,032
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,032
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: 871
Chicago, IL
Dooley Offline
User
Dooley  Offline
User

Joined: May 2005
Posts: 871
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: 1,032
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,032
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,861
Kiel (Germany)
Superku Offline
Senior Expert
Superku  Offline
Senior Expert

Joined: Sep 2003
Posts: 6,861
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: 1,032
Budapest
Aku_Aku Offline OP
Serious User
Aku_Aku  Offline OP
Serious User

Joined: Sep 2009
Posts: 1,032
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 | 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