Monika-After-Story / MonikaModDev

DDLC fan mod to extend Monika
http://www.monikaafterstory.com/
Other
1.18k stars 688 forks source link

Out of Memory error #10101

Closed IoukaSnow closed 12 months ago

IoukaSnow commented 12 months ago

Sometimes when I want to change the clothes of Monika, She transform into a black square and the game crash, and when I try to update a submod with the submod updator plugin the game crash too.

Here's what it show me :

I'm sorry, but an uncaught exception occurred.

While running game code: error: Out of memory

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

Full traceback: File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 498, in main renpy.display.interface.finish_pending() File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 3287, in finish_pending self.check_background_screenshot() File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 2013, in check_background_screenshot self.bgscreenshot_surface = renpy.display.draw.screenshot(self.surftree, self.fullscreen_video) File "renpy/gl/gldraw.pyx", line 1260, in renpy.gl.gldraw.GLDraw.screenshot (gen\renpy.gl.gldraw.c:19209) full = renpy.display.pgrender.surface_unscaled(self.drawable_size, False) File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\display\pgrender.py", line 116, in surface surf = Surface((width + 4, height + 4), 0, sample) File "src/pygame_sdl2/surface.pyx", line 164, in pygame_sdl2.surface.Surface.init (gen\pygame_sdl2.surface.c:2479) error: Out of memory

or this :

I'm sorry, but an uncaught exception occurred.

While loading <'MatrixColor' <'Image' u'mod_assets/monika/c/emmajk80_clothes_ann/body-def-1.png'> (1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1, 0, 0, 0, 0, 0, 1)>: error: Out of memory

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

Full traceback: File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\bootstrap.py", line 295, in bootstrap renpy.main.main() File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\main.py", line 498, in main renpy.display.interface.finish_pending() File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 3287, in finish_pending self.check_background_screenshot() File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\display\core.py", line 2013, in check_background_screenshot self.bgscreenshot_surface = renpy.display.draw.screenshot(self.surftree, self.fullscreen_video) File "renpy/gl/gldraw.pyx", line 1260, in renpy.gl.gldraw.GLDraw.screenshot (gen\renpy.gl.gldraw.c:19209) full = renpy.display.pgrender.surface_unscaled(self.drawable_size, False) File "C:\Users\Nolan.Brevier\Desktop\steam\steamapps\common\Doki Doki Literature Club\renpy\display\pgrender.py", line 116, in surface surf = Surface((width + 4, height + 4), 0, sample) File "src/pygame_sdl2/surface.pyx", line 164, in pygame_sdl2.surface.Surface.init (gen\pygame_sdl2.surface.c:2479) error: Out of memory

dreamscached commented 12 months ago

MAS ran out of available memory as MAS currently is limited to just 2 GiB of RAM. The issue will be resolved after the migration to newer version of the game engine completes in one of the next updates.

Booplicate commented 12 months ago

I doubt we actually use more than one GiB, might be a system or hardware issue.

IoukaSnow commented 12 months ago

So to fiw it i have to get more RAM ?

dreamscached commented 12 months ago

Nope, the game (or system/hardward) itself has issue with memory allocation and it caused this error.

Booplicate commented 12 months ago

You could try changing the renderer in MAS settings (just don't use the software one).