Gamestudio Links
Zorro Links
Newest Posts
folder management functions
by 7th_zorro. 04/16/24 13:19
lookback setting performance issue
by 7th_zorro. 04/16/24 03:08
zorro 64bit command line support
by 7th_zorro. 04/15/24 09:36
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:48
Zorro FIX plugin - Experimental
by flink. 04/14/24 07:46
LPDIRECT3DCUBETEXTUR
E9

by Ayumi. 04/12/24 11:00
Sam Foster Sound | Experienced Game Composer for Hire
by titanicpiano14. 04/11/24 14:56
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
4 registered members (Quad, alibaba, rki, 7th_zorro), 365 guests, and 1 spider.
Key: Admin, Global Mod, Mod
Newest Members
11honza11, ccorrea, sakolin, rajesh7827, juergen_wue
19045 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: 993
Budapest
Aku_Aku Offline OP
User
Aku_Aku  Offline OP
User

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

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

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

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

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