[Scummvm-tracker] [ScummVM :: Bugs] #16344: TETRAEDGE: Allocator out of memory: couldn't allocate more memory from linear allocator.!

ScummVM :: Bugs trac at scummvm.org
Tue Nov 11 23:24:11 UTC 2025


#16344: TETRAEDGE: Allocator out of memory: couldn't allocate more memory from
linear allocator.!
------------------------------------------+--------------------------------
Reporter:  automatedbugreportingfacility  |       Owner:  (none)
    Type:  defect                         |      Status:  new
Priority:  high                           |   Component:  Engine: Tetraedge
 Version:                                 |  Resolution:
Keywords:  crash                          |        Game:  Syberia 1
------------------------------------------+--------------------------------
Comment (by antoniou79):

 This change seems to fix this, although the chosen value may not be
 optimal. I chose the first higher MB (higher than the default 5MB) that
 didn't trigger the error (6MB still crashed):

 {{{
 diff --git a/engines/tetraedge/te/te_renderer_tinygl.cpp
 b/engines/tetraedge/te/te_renderer_tinygl.cpp
 index 9d0077d21a6..d904cc8880f 100644
 --- a/engines/tetraedge/te/te_renderer_tinygl.cpp
 +++ b/engines/tetraedge/te/te_renderer_tinygl.cpp
 @@ -98,7 +98,7 @@ void TeRendererTinyGL::init(uint width, uint height) {

         const Graphics::PixelFormat pixelFormat =
 g_system->getScreenFormat();
         debug(2, "INFO: TinyGL front buffer pixel format: %s",
 pixelFormat.toString().c_str());
 -       TinyGL::createContext(width, height, pixelFormat, 256, true,
 ConfMan.getBool("dirtyrects"));
 +       TinyGL::createContext(width, height, pixelFormat, 256, true,
 ConfMan.getBool("dirtyrects"), 7 * 1024 * 1024);

         tglViewport(0, 0, width, height);
 }}}
-- 
Ticket URL: <https://bugs.scummvm.org/ticket/16344#comment:4>
ScummVM :: Bugs <https://bugs.scummvm.org>
ScummVM


More information about the Scummvm-tracker mailing list