Memory leaks and renders alive at shutdown?

Discuss how to use the Ren'Py engine to create visual novels and story-based games. New releases are announced in this section.
Forum rules
This is the right place for Ren'Py help. Please ask one question per thread, use a descriptive subject like 'NotFound error in option.rpy' , and include all the relevant information - especially any relevant code and traceback messages. Use the code tag to format scripts.
Post Reply
Message
Author
User avatar
sonorousgem
Regular
Posts: 135
Joined: Wed Mar 06, 2013 3:28 am
Contact:

Memory leaks and renders alive at shutdown?

#1 Post by sonorousgem »

I've gotten a few traceback error messages that basically say the same thing: that there is some memory leak and/or some amount of "renders" were alive at shutdown.
I do not know what any of that means. If it helps, this last message said that 14 renders were alive at shutdown.
This error does not seem to affect any of my games (so far), but I don't want to risk anything happening. Also, the error only happens very occasionally and I don't get the traceback texts things often at all. If anyone is willing to help me, that would be great, but I understand there are much bigger problems out there X)

oops, am I supposed to post this in the other category? Sorry, I will try to figure out how to move it over there...

User avatar
PyTom
Ren'Py Creator
Posts: 16096
Joined: Mon Feb 02, 2004 10:58 am
Completed: Moonlight Walks
Projects: Ren'Py
IRC Nick: renpytom
Github: renpytom
itch: renpytom
Location: Kings Park, NY
Contact:

Re: Memory leaks and renders alive at shutdown?

#2 Post by PyTom »

Can you repeat it reliably? If so, please let me know how to do so.

If not, don't worry. This check is only enabled if config.developer is true, so when you set config.developer = False for release, the error will go away.
Supporting creators since 2004
(When was the last time you backed up your game?)
"Do good work." - Virgil Ivan "Gus" Grissom
Software > Drama • https://www.patreon.com/renpytom

User avatar
sonorousgem
Regular
Posts: 135
Joined: Wed Mar 06, 2013 3:28 am
Contact:

Re: Memory leaks and renders alive at shutdown?

#3 Post by sonorousgem »

If it happens again, I'll copy it down. Sorry :/
Also, that's good to know (I do set it to false...). Thank you!

User avatar
Chrizine
Regular
Posts: 178
Joined: Fri Nov 26, 2010 1:47 pm
Projects: Perios - Chained Sorceress (WIP), Sword vs. Staff (WIP)
Organization: Motdl Productions
Location: Currently Switzerland
Contact:

Re: Memory leaks and renders alive at shutdown?

#4 Post by Chrizine »

I had the same error just now, though I haven't found a way to reproduce it yet.
I attached the full traceback in case this helps.
Attachments
traceback-renders.txt
Full traceback
(789 Bytes) Downloaded 40 times
Take a look at Perios - Chained Sorceress!
And also on Sword vs. Staff, my short new project...
And, of course, our blog!
Honest Critique

User avatar
sonorousgem
Regular
Posts: 135
Joined: Wed Mar 06, 2013 3:28 am
Contact:

Re: Memory leaks and renders alive at shutdown?

#5 Post by sonorousgem »

@Chrizine: that's exactly what mine looked like. I hope it hasn't affected any of your work, though, because it's been fine for me ^.^"

Post Reply

Who is online

Users browsing this forum: Kia