Gamestudio Links
Zorro Links
Newest Posts
Blobsculptor tools and objects download here
by NeoDumont. 03/28/24 03:01
Issue with Multi-Core WFO Training
by aliswee. 03/24/24 20:20
Why Zorro supports up to 72 cores?
by Edgar_Herrera. 03/23/24 21:41
Zorro Trader GPT
by TipmyPip. 03/06/24 09:27
VSCode instead of SED
by 3run. 03/01/24 19:06
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
2 registered members (Imhotep, opm), 785 guests, and 4 spiders.
Key: Admin, Global Mod, Mod
Newest Members
sakolin, rajesh7827, juergen_wue, NITRO_FOREVER, jack0roses
19043 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: 991
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 991
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: 679
Germany
Ayumi Offline
User
Ayumi  Offline
User

Joined: Oct 2008
Posts: 679
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: 991
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 991
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: 868
Chicago, IL
Dooley Offline
User
Dooley  Offline
User

Joined: May 2005
Posts: 868
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: 991
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 991
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: 991
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

Joined: Sep 2009
Posts: 991
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