wurg

Active Member
Modder
Apr 19, 2018
705
1,630
danteworks there is a memory issue somewhere, never encountered this while playing a game before so I can't help reason why in any way.

First two pictures are a speed run of the update after I went through it the first time, last two are right after I closed the game. I have an rx 580 8GB GPU for reference.

The game didn't crash in me, just thought I would test it from some posts I saw in the thread.
 
  • Like
Reactions: Jnj48

tankie123

Member
Nov 17, 2017
133
89
danteworks there is a memory issue somewhere, never encountered this while playing a game before so I can't help reason why in any way.

First two pictures are a speed run of the update after I went through it the first time, last two are right after I closed the game. I have an rx 580 8GB GPU for reference.

The game didn't crash in me, just thought I would test it from some posts I saw in the thread.
as long as there is free committed memory - the game will not freeze is what i figured out, it will freeze once committed memory will reach max value, yours as you can see still have 3gb free aka needed further skipping & finding of pics which was not seen before in that session(starting a new game is a good way to trigger a freeze no matter what unless you have ~70ish committed), though because of your screenshots we now also know that it also have the leak in vram as well, interesting to know that :)
 

kanekidom

Member
Apr 22, 2019
206
528
I don't usually like sand box style games, or whatever it is where u click around to find where to go, but I love this game. Every game this style needs a cell phone helping u where to go. Great job!
 
  • Like
Reactions: Ref3at

Rickardur

Newbie
Donor
Jul 19, 2017
32
26
I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'images/WebP_encoded/k-166.webp'>:
error: Out of memory

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\bootstrap.py", line 314, in bootstrap
renpy.main.main()
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\main.py", line 529, in main
run(restart)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\main.py", line 139, in run
renpy.execution.run_context(True)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\execution.py", line 892, in run_context
context.run()
File "scripts/characterstatus.rpyc", line 100, in script call
File "scripts/future.rpyc", line 264, in script
File "scripts/characterstatus.rpyc", line 100, in script call
File "scripts/future.rpyc", line 264, in script
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\ast.py", line 706, in execute
renpy.exports.say(who, what, *args, **kwargs)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\exports.py", line 1336, in say
who(what, *args, **kwargs)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\character.py", line 1139, in __call__
self.do_display(who, what, cb_args=self.cb_args, **display_args)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\character.py", line 842, in do_display
**display_args)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\character.py", line 591, in display_say
rv = renpy.ui.interact(mouse='say', type=type, roll_forward=roll_forward)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\ui.py", line 295, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\core.py", line 2701, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\core.py", line 3193, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\core.py", line 2093, in draw_screen
renpy.config.screen_height,
File "render.pyx", line 519, in renpy.display.render.render_screen
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "accelerator.pyx", line 110, in renpy.display.accelerator.transform_render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\image.py", line 500, in render
return wrap_render(self.target, width, height, st, at)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\image.py", line 306, in wrap_render
rend = render(child, w, h, st, at)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\im.py", line 582, in render
return cache.get(self, render=True)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\im.py", line 266, in get
surf = image.load()
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\im.py", line 627, in load
surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\pgrender.py", line 164, in load_image
rv = copy_surface_unscaled(surf)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\pgrender.py", line 129, in copy_surface
rv = surface_unscaled(surf.get_size(), alpha)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\pgrender.py", line 118, in surface
surf = Surface((width + 4, height + 4), 0, sample)
File "src/pygame_sdl2/surface.pyx", line 164, in pygame_sdl2.surface.Surface.__init__
error: Out of memory

Windows-8-6.2.9200
Ren'Py 7.3.0.271
Depravity 0.53_Public_Release
Wed Aug 14 00:18:33 2019
 

tankie123

Member
Nov 17, 2017
133
89
I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'images/WebP_encoded/k-166.webp'>:
error: Out of memory
ah don't worry, this certain version just have memory leak, to avoid these errors in this version you must keep doing saves and closing the game from time to time, but to how often you must do it you must find yourself - the lower your ram,pagefile & vram value is the more often you will need to restart the game to avoid the freeze/that error
 
  • Like
Reactions: DOM76210

wurg

Active Member
Modder
Apr 19, 2018
705
1,630
as long as there is free committed memory - the game will not freeze is what i figured out, it will freeze once committed memory will reach max value, yours as you can see still have 3gb free aka needed further skipping & finding of pics which was not seen before in that session(starting a new game is a good way to trigger a freeze no matter what unless you have ~70ish committed), though because of your screenshots we now also know that it also have the leak in vram as well, interesting to know that :)

I honestly don't know that much about memory allocation, but was kinda shocked at how much VRAM was used up, I haven't had this computer that long, but have never seen my GPU memory that high.
 

Rickardur

Newbie
Donor
Jul 19, 2017
32
26
now i have a non memory related one.


I'm sorry, but an uncaught exception occurred.

While loading <'Image' u'images/WebP_encoded/a-68.webp'>:
File "game/scripts/studio/studiolobby.rpy", line 78, in <module>
Exception: Could not load image u'images/WebP_encoded/a-68.webp': error('Failed to allocate SDL_Surface',)

-- Full Traceback ------------------------------------------------------------

Full traceback:
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\bootstrap.py", line 314, in bootstrap
renpy.main.main()
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\main.py", line 529, in main
run(restart)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\main.py", line 139, in run
renpy.execution.run_context(True)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\execution.py", line 892, in run_context
context.run()
File "scripts/resort/resort.rpyc", line 2, in script call
File "scripts/studio/studiolobby.rpyc", line 78, in script
File "scripts/resort/resort.rpyc", line 2, in script call
File "scripts/studio/studiolobby.rpyc", line 78, in script
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\ast.py", line 912, in execute
renpy.python.py_exec_bytecode(self.code.bytecode, self.hide, store=self.store)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\python.py", line 1959, in py_exec_bytecode
exec bytecode in globals, locals
File "game/scripts/studio/studiolobby.rpy", line 78, in <module>
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\exports.py", line 1471, in pause
rv = renpy.ui.interact(mouse='pause', type='pause', roll_forward=roll_forward)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\ui.py", line 295, in interact
rv = renpy.game.interface.interact(roll_forward=roll_forward, **kwargs)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\core.py", line 2701, in interact
repeat, rv = self.interact_core(preloads=preloads, trans_pause=trans_pause, **kwargs)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\core.py", line 3193, in interact_core
self.draw_screen(root_widget, fullscreen_video, (not fullscreen_video) or video_frame_drawn)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\core.py", line 2093, in draw_screen
renpy.config.screen_height,
File "render.pyx", line 519, in renpy.display.render.render_screen
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\layout.py", line 722, in render
surf = render(child, width, height, cst, cat)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "accelerator.pyx", line 110, in renpy.display.accelerator.transform_render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\image.py", line 500, in render
return wrap_render(self.target, width, height, st, at)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\image.py", line 306, in wrap_render
rend = render(child, w, h, st, at)
File "render.pyx", line 154, in renpy.display.render.render
File "render.pyx", line 247, in renpy.display.render.render
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\im.py", line 582, in render
return cache.get(self, render=True)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\im.py", line 266, in get
surf = image.load()
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\im.py", line 627, in load
surf = renpy.display.pgrender.load_image(renpy.loader.load(self.filename), self.filename)
File "C:\Users\Rickardur\Desktop\Depravity-0.53_Public_Release-pc\renpy\display\pgrender.py", line 162, in load_image
raise Exception("Could not load image {!r}: {!r}".format(filename, e))
Exception: Could not load image u'images/WebP_encoded/a-68.webp': error('Failed to allocate SDL_Surface',)

Windows-8-6.2.9200
Ren'Py 7.3.0.271
Depravity 0.53_Public_Release
Wed Aug 14 00:39:47 2019
 

tankie123

Member
Nov 17, 2017
133
89
now i have a non memory related one.
i'm almost sure that it's still memory related since you can't play the game once committed memory reaches it's max value and that error states that it happened under loading of new image, so don't worry, instead - either wait for new version or save the game before you get the error, if you getting it after let's say 10-20 new images - save the game and restart it after 6-8 images, etc..

to check if it's memory related error or something else - open task manager, go to performance tab, click on memory, look on the "committed" value in one of the bottom text , if committed will be filled fully then it's the memory one, if no then may be something else
 
3.90 star(s) 109 Votes