[bug] memory leak, probably

(previously 'DEVELOPER') Private forum for registered community members. To register, please visit www.prison-architect.com/register.

Moderator: NBJeff

jmickle
level0
Posts: 1
Joined: Wed Sep 26, 2012 7:35 pm

[bug] memory leak, probably

Postby jmickle » Thu Sep 27, 2012 12:13 am

The game completely locked up for me at an apparently insignificant moment, and upon entering task manager I saw prison architect was using almost a gigabyte of memory, and i'm pretty sure I only have a gig overall. :)

just thought I'd let you know!
D1g1talDragon
level0
Posts: 1
Joined: Wed Sep 26, 2012 7:22 pm
Location: United States

Postby D1g1talDragon » Thu Sep 27, 2012 1:08 am

Yep. It's pretty severe on my rig too. Over 1.2GB used just paused int the background so far after about 30 mins.
zangdar86
level1
level1
Posts: 69
Joined: Thu Aug 30, 2012 8:08 am
Location: France

Postby zangdar86 » Thu Sep 27, 2012 8:28 am

Yeah same here, specially when i get 40 prisonners and the same numbers of workers. So I decide to use the electric chair ! But no way to reduce my prison demography cos electric chair is useless in sandbox. So I fire all my warden and let the show begin !!!!!! Prison Battle Royale !!!!
omarlittle
level0
Posts: 4
Joined: Wed Sep 26, 2012 5:28 pm

Postby omarlittle » Wed Oct 03, 2012 9:56 pm

Hello everyone,

Same here, the memory usage went over 1400Mb and crashed.

Win 7 64bit 16Gb of RAM.

debug.txt
>>

alpha-1 pc vanilla compiled 10:59:56, Sep 25 2012
Loading Preferences from C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
BEGIN DataRegistry DUMP:
Screen
ScreenW [int] 0
ScreenH [int] 0
ScreenWindowed [bool] 0
ScreenMultiSampled [bool] 0
ScreenSuperSampled [bool] 0
Sound
SoundMixFrequency [int] 22050
SoundVolume [int] 255
SoundSwapStereo [bool] 0
SoundEnableDsp [bool] 1
RecentMap [string] autosave.prison
FirstTime [bool] 0
AutoSaveTimer [int] 10
END DataRegistry DUMP:
Suggested resolution : 1920 x 1080
OpenGL Vendor : Intel
OpenGL Renderer : Intel(R) HD Graphics 4000
OpenGL Version : 3.3.0 - Build 8.15.10.2639
Parsing archive main.dat...
DONE
Parsing archive sounds.dat...
DONE
Fonts loaded in 526ms
Invalid multi-byte UTF8 character: 0XFF
Loaded in 433 strings
Couldn't open unicode language file data/language/english-fullgame.txt
Initialising SDL Audio:
Frequency: 22050
Format: 32784
Channels: 2
Samples: 512
Size of Stereo Sample: 4
SoundLibrary2D Starting buffer topup thread....
SoundSystem started : 22050Hz x 64 sound channels (including 8 music channels)
OpenGL maximum texture size 8192 x 8192
Multisampled Framebuffer support : yes
Supersampling support at screen res 1920 x 1080 : yes
libpng version 1.4.7 - April 10, 2011
(Running with version 1.4.7)
Continuing game 'autosave.prison'
================
== LOAD MAP ==
================
Loading map from 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...
MaterialLibrary reading from 'data/materials.txt'
BiographyGenerator read 27 fornames, 235 surnames
World Initialised to size 200 x 160 cells
GridNavigationSystem created Route Work-In-Progress (size 500Kb)
Grid Navigation System initialised
EscapeMap Initialised : 250Kb
Lightmap initialised in 18ms : 750Kb
Danger initialised : 125Kb
Patrol System Initialised : 875Kb
Gang System Initialised : 625Kb
Water System Initialised : 1250Kb
PowerSystem initialised : 250Kb
Research System reading layout from data/research-layout.txt
PolaroidSystem has 29 polaroids in the database
ScriptSystem initialised in 0ms
Parsing LUA script 'data/grants.lua'
Load completed in 3462ms (3112ms to read file, 349ms to parse data)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
WorldRenderer: vexCellTypes initialised in 6ms : 64000 triangles (vex,tex), 3.7 MBytes
ShaderOpenGL successfully compiled : LightMap
WorldRenderer: vexCell2ndLayer initialised in 6ms : 64000 triangles (vex,tex), 3.7 MBytes
WorldRenderer: vexDetails initialised in 11ms : 64000 triangles (vex,tex,col), 4.4 MBytes
WorldRenderer: vexShadow initialised in 20ms : 128000 triangles (vex,col), 5.9 MBytes
WARNING in Image constructor : Failed to open file 'data/polaroids/ill_warden.png'
Curl version libcurl/7.27.0
Requesting motd from url 'http://forums.introversion.co.uk/pamotd.php?v=alpha-1&platform=pc&flavour=vanilla'
WARNING in Image constructor : Failed to open file 'data/'
CLOSING MAP...
WorldRenderer deleting all Vertex Arrays...
ShaderOpenGL TODO : Destroy method
================
== NEW MAP ===
================
MaterialLibrary reading from 'data/materials.txt'
BiographyGenerator read 27 fornames, 235 surnames
World Initialised to size 100 x 80 cells
GridNavigationSystem created Route Work-In-Progress (size 125Kb)
Grid Navigation System initialised
EscapeMap Initialised : 62Kb
Lightmap initialised in 4ms : 187Kb
Danger initialised : 31Kb
Patrol System Initialised : 218Kb
Gang System Initialised : 156Kb
Water System Initialised : 312Kb
PowerSystem initialised : 62Kb
Research System reading layout from data/research-layout.txt
PolaroidSystem has 29 polaroids in the database
ScriptSystem initialised in 0ms
Parsing LUA script 'data/grants.lua'
Create starting world...
Create starting world done...
WorldRenderer: vexCellTypes initialised in 1ms : 16000 triangles (vex,tex), 0.9 MBytes
ShaderOpenGL successfully compiled : LightMap
WorldRenderer: vexCell2ndLayer initialised in 1ms : 16000 triangles (vex,tex), 0.9 MBytes
WorldRenderer: vexDetails initialised in 2ms : 16000 triangles (vex,tex,col), 1.1 MBytes
WARNING: Tried to Render a Vertex Array that was not committed
WorldRenderer: vexShadow initialised in 5ms : 32000 triangles (vex,col), 1.5 MBytes
WARNING: Tried to Render a Vertex Array that was not committed
WARNING in Image constructor : Failed to open file 'data/texture_window.png'
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 247ms (201ms to serialise world, 45ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 257ms (204ms to serialise world, 52ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 264ms (207ms to serialise world, 56ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 264ms (209ms to serialise world, 55ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 265ms (209ms to serialise world, 56ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 266ms (207ms to serialise world, 58ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 270ms (209ms to serialise world, 61ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 275ms (210ms to serialise world, 64ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 284ms (214ms to serialise world, 69ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 275ms (209ms to serialise world, 65ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 275ms (208ms to serialise world, 67ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 279ms (210ms to serialise world, 68ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 288ms (212ms to serialise world, 75ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
Saving map to 'C:\Users\S\AppData\Local/Introversion/Prison Architect/saves/autosave.prison'...Save completed in 293ms (216ms to serialise world, 77ms to write file)
Saving Preferences to C:\Users\S\AppData\Local/Introversion/Prison Architect/preferences.txt
Save successful!
zapt
level0
Posts: 2
Joined: Wed Sep 26, 2012 5:28 pm
Location: United Kingdom

Postby zapt » Wed Oct 03, 2012 10:04 pm

I've had this too, suddenly locks up after around an hour.
User avatar
tabasco boy
level5
level5
Posts: 1180
Joined: Sun Mar 10, 2002 4:25 pm
Location: Lovely Planet Earth
Contact:

Postby tabasco boy » Wed Oct 03, 2012 10:12 pm

thats to be expected on a alpha release. hopefully on the final release most of the bugs will be ironed out.

considering my rig:

Current Build:
OS: Windows 7 Ultimate (64bit)
Case: Cooler Master HAF X
CPU: i7 3770K Ivy Bridge
MotherBoard: ASUS SABERTOOTH Z77
Cooling System: Antec Kuhler h20 620
ram: 16GB DDR3 1600 MHz Corsair xms3
GPU: Zotac 9800GT 1GB (Came from Old PC)
Hard Drive: Hitachi 500GB (x2). set up as RAID1
Hitachi 500GB slave drive
Hitachi 500GB for backup
Hitachi 160GB for downloads
PSU: Thermaltake 600W

bring it on memory leak :wink:
Daixiwen
level1
level1
Posts: 25
Joined: Sun Sep 30, 2012 8:49 pm

Postby Daixiwen » Thu Oct 04, 2012 9:05 am

I had the same problem when running on Wineskin, but the Mac version seems more stable.
spazbob
level0
Posts: 2
Joined: Fri Sep 28, 2012 10:54 pm

Postby spazbob » Thu Oct 04, 2012 10:10 pm

I'm also suffering from this. Observed in task manager that game starts at about 350MB, then adds about 1MB each second (even whilst paused) for the 15 minutes it takes to exhaust memory and crash.

Return to “Community Members”

Who is online

Users browsing this forum: No registered users and 2 guests