Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0000046Dwarf FortressTechnical -- Generalpublic2010-04-01 16:522012-01-12 10:52
ReporterGreyhawk 
Assigned ToFootkerchief 
PriorityhighSeveritymajorReproducibilityhave not tried
StatusresolvedResolutionunable to reproduce 
PlatformWindowsOSVistaOS Versionsp1
Product Version 
Target VersionFixed in Version 
Summary0000046: After "Create New World Now!", there was a memory leak and process left running after quitting.
DescriptionIt did finally create the world after a while and didn't release the memory after getting back to the menu.

The process is taking 1.4gb of ram even after running another instance of DF. Required a "end process" to recover.
Steps To Reproduce1. Create new world now! (posted gen)
2. 'd' export
3. 'enter' accept
4. notice process with 1.4gb
5. quit
6. notice process still in process list at 1.4gb
Additional InformationCreated in DF v0.31.01.

[WORLD_GEN]
    [TITLE:MEDIUM ISLAND]
    [SEED:226265626]
    [HISTORY_SEED:1791262068]
    [NAME_SEED:1253073509]
    [CREATURE_SEED:869729219]
    [DIM:129:129]
    [EMBARK_POINTS:1274]
    [END_YEAR:1050]
    [BEAST_END_YEAR:200:80]
    [REVEAL_ALL_HISTORY:1]
    [CULL_HISTORICAL_FIGURES:0]
    [ELEVATION:1:400:1600:1600]
    [RAINFALL:0:100:200:200]
    [TEMPERATURE:25:75:200:200]
    [DRAINAGE:0:100:200:200]
    [VOLCANISM:0:100:200:200]
    [SAVAGERY:0:100:200:200]
    [ELEVATION_FREQUENCY:4:2:0:1:0:1]
    [RAIN_FREQUENCY:1:1:1:1:1:1]
    [DRAINAGE_FREQUENCY:1:1:1:1:1:1]
    [TEMPERATURE_FREQUENCY:1:1:1:1:1:1]
    [SAVAGERY_FREQUENCY:1:1:1:1:1:1]
    [VOLCANISM_FREQUENCY:1:1:1:1:1:1]
    [TITAN_NUMBER:9]
    [TITAN_ATTACK_TRIGGER:80:0:100000]
    [DEMON_NUMBER:28]
    [GOOD_SQ_COUNTS:6:63:0]
    [EVIL_SQ_COUNTS:6:63:0]
    [PEAK_NUMBER_MIN:3]
    [PARTIAL_OCEAN_EDGE_MIN:0]
    [COMPLETE_OCEAN_EDGE_MIN:4]
    [VOLCANO_MIN:1]
    [REGION_COUNTS:SWAMP:66:0:0]
    [REGION_COUNTS:DESERT:66:0:0]
    [REGION_COUNTS:FOREST:264:0:0]
    [REGION_COUNTS:MOUNTAINS:528:0:0]
    [REGION_COUNTS:OCEAN:528:0:0]
    [REGION_COUNTS:GLACIER:16:0:0]
    [REGION_COUNTS:TUNDRA:33:0:0]
    [REGION_COUNTS:GRASSLAND:528:0:0]
    [REGION_COUNTS:HILLS:528:0:0]
    [EROSION_CYCLE_COUNT:250]
    [RIVER_MINS:25:25]
    [PERIODICALLY_ERODE_EXTREMES:1]
    [OROGRAPHIC_PRECIPITATION:1]
    [SUBREGION_MAX:2750]
    [CAVERN_LAYER_COUNT:3]
    [CAVERN_LAYER_OPENNESS_MIN:0]
    [CAVERN_LAYER_OPENNESS_MAX:100]
    [CAVERN_LAYER_PASSAGE_DENSITY_MIN:0]
    [CAVERN_LAYER_PASSAGE_DENSITY_MAX:100]
    [CAVERN_LAYER_WATER_MIN:0]
    [CAVERN_LAYER_WATER_MAX:100]
    [HAVE_BOTTOM_LAYER_1:1]
    [HAVE_BOTTOM_LAYER_2:1]
    [LEVELS_ABOVE_GROUND:15]
    [LEVELS_ABOVE_LAYER_1:5]
    [LEVELS_ABOVE_LAYER_2:1]
    [LEVELS_ABOVE_LAYER_3:1]
    [LEVELS_ABOVE_LAYER_4:1]
    [LEVELS_ABOVE_LAYER_5:2]
    [LEVELS_AT_BOTTOM:1]
    [CAVE_MIN_SIZE:5]
    [CAVE_MIN_SIZE:5]
    [CAVE_MAX_SIZE:25]
    [MOUNTAIN_CAVE_MIN:5]
    [NON_MOUNTAIN_CAVE_MIN:10]
    [ALL_CAVES_VISIBLE:0]
    [SHOW_EMBARK_TUNNEL:2]
    [TOTAL_CIV_NUMBER:10]
    [TOTAL_CIV_POPULATION:20000]
    [PLAYABLE_CIVILIZATION_REQUIRED:1]
    [ELEVATION_RANGES:8000:1056:528]
    [RAIN_RANGES:528:1056:528]
    [DRAINAGE_RANGES:528:1056:528]
    [SAVAGERY_RANGES:528:1056:528]
    [VOLCANISM_RANGES:528:1056:528]
TagsNo tags attached.
Attached Files

- Relationships
parent of 0000471resolvedFootkerchief Large Worlds often cause crashing, graphical corruption 
has duplicate 0000216closedFootkerchief Dwarf Fortress fails to release memory after world gen 
has duplicate 0000217closedFootkerchief World Gen consumes massive amounts of memory 
related to 0002463resolvedFootkerchief Reproducible crash on worldgen 

-  Notes
(0000748)
Someone_r_c_tm (reporter)
2010-04-03 19:23
edited on: 2010-04-03 19:52

Note high memory usage during world gen (roughly 1.5GB at start of world gen) seems to be related to having GRAPHICS set to YES. See 0000217:0000747

(0001501)
Tallim (reporter)
2010-04-06 09:50

I have to often kill the process once I have quit the game, keeps running in memory. Vista SP1 also. I use the default Init file so my memory footprint is much smaller after I quit DF. Usually around 150MB
(0002060)
Greyhawk (reporter)
2010-04-08 09:33

First, graphics was set to yes when I did this.

Second, tried with latest version:

- Memory was 400-550m.
- After creation the memory dropped back down to 200m.
- Exiting didn't result in the process being left over. This may have been my OS complaining about the memory (or the game).

So this probably can be closed as fixed in 0.31.02
(0002175)
arcaner (reporter)
2010-04-08 15:35

reproduced in 0.31.02
(0002249)
Greyhawk (reporter)
2010-04-08 21:07

Tried again, this time with exactly the same seed.

1.5gb to 490mb during gen
1.5gb to 220mb after returning to menu
and no left over process after quitting.

What part(s) are you reproducing arcaner?
Computer specs might help too.
(0002324)
arcaner (reporter)
2010-04-09 07:53

@Greyhawk On my system Dwarf Fortress does not quit cleanly. A process will still be shown to be running in the task manager after the window has closed. Quitting after world gen the assigned ram was around 1.5 gig, without world gen the assigned memory was about a meg.

Running Windows Vista Business SP2.
(0003192)
Greyhawk (reporter)
2010-04-12 20:33

Your right, it definitely has a problem still in 0.31.03. I created a map and embarked only to have incredible slow downs for my entire OS. I exited and the process was left behind. Memory use never exceeded 1gb though and the process only had 200mb left but was still taking cpu time.
(0004056)
smjjames (reporter)
2010-04-18 10:05

Still happening in .03 as well for the create new world now.
(0007399)
Footkerchief (manager)
2010-05-27 14:00

Does anyone have any updates on this one?
(0019359)
Footkerchief (manager)
2012-01-12 10:52

Closing due to the lack of corroboration for recent versions.

- Issue History
Date Modified Username Field Change
2010-04-01 16:52 Greyhawk New Issue
2010-04-02 20:29 Greyhawk Issue Monitored: Greyhawk
2010-04-03 11:17 Footkerchief Relationship added parent of 0000216
2010-04-03 11:18 Footkerchief Relationship added parent of 0000217
2010-04-03 19:23 Someone_r_c_tm Note Added: 0000748
2010-04-03 19:23 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:26 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:27 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:36 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:36 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:44 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:45 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:50 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:51 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 19:52 Someone_r_c_tm Note Edited: 0000748 View Revisions
2010-04-03 20:37 Someone_r_c_tm Issue Monitored: Someone_r_c_tm
2010-04-05 09:15 Footkerchief Relationship added parent of 0000471
2010-04-05 09:16 Footkerchief Relationship replaced related to 0000471
2010-04-06 09:17 Footkerchief Relationship replaced parent of 0000471
2010-04-06 09:50 Tallim Note Added: 0001501
2010-04-08 09:33 Greyhawk Note Added: 0002060
2010-04-08 15:35 arcaner Note Added: 0002175
2010-04-08 21:07 Greyhawk Note Added: 0002249
2010-04-09 07:53 arcaner Note Added: 0002324
2010-04-09 07:53 arcaner Issue Monitored: arcaner
2010-04-12 20:33 Greyhawk Note Added: 0003192
2010-04-14 12:43 lord_chaos22000 Issue Monitored: lord_chaos22000
2010-04-18 10:05 smjjames Note Added: 0004056
2010-04-29 13:10 Footkerchief Category General => Technical
2010-05-27 13:56 Footkerchief Relationship replaced has duplicate 0000216
2010-05-27 13:59 Footkerchief Relationship replaced has duplicate 0000217
2010-05-27 14:00 Footkerchief Note Added: 0007399
2010-06-29 07:38 Footkerchief Category Technical => Technical -- General
2010-07-07 07:32 Footkerchief Relationship added related to 0002432
2010-07-07 07:36 Footkerchief Relationship deleted related to 0002432
2010-07-07 07:36 Footkerchief Relationship added related to 0002463
2012-01-12 10:52 Footkerchief Note Added: 0019359
2012-01-12 10:52 Footkerchief Status new => resolved
2012-01-12 10:52 Footkerchief Resolution open => unable to reproduce
2012-01-12 10:52 Footkerchief Assigned To => Footkerchief


Copyright © 2000 - 2010 MantisBT Group
Powered by Mantis Bugtracker