• 🏆 Texturing Contest #33 is OPEN! Contestants must re-texture a SD unit model found in-game (Warcraft 3 Classic), recreating the unit into a peaceful NPC version. 🔗Click here to enter!

Editor Consume too much memory!

Status
Not open for further replies.
Level 4
Joined
Jul 2, 2007
Messages
53
I have 2 gb system with WIn7 x86, so the problem is that its hard to test map without closing editor! Because Editor consume like 800-1000 mb! And game is lagging as hell...

so... my question is - if someone has discovered some tweaks or little tips or hints what ever, how to avoid this dragon like-consumtion...

**Maybe some specific editor settings? Maybe some tips? I need any help!**

__________________________

And plz dont post stupid comments like:

1. "oh 2Gb its not enough in our hard times... bla bla"

2. "hm very strange, i have a mac with 8Gb, no problems so far..."

3. "downgrade to windows 98 it should save you - 450mb Ram"

4. "forget editor, go download some lolicon porn, hot little girls should solve it!" ( -my favorite so far)
 
Level 22
Joined
Feb 4, 2005
Messages
3,971
If you exit SC2 every time you finish your testing it will be pain in the butt to start the game every time. But once loaded, the game loads a map much faster than if you do it for the first time. So I suggest stay in SC2 Log In menu and when you test maps it will load faster than if you exit every time.

dont get win7 with 2gb ram

Win 7 consumes less than crappy Vista, so it is actually better for him than Vista. Or he could stay at XP. Plus video card also matters, 2gb physical memory is just fine to run.


Also - if you open your map and scroll with the mouse to see your map from very high, it starts lagging. So if you see a tree from relatively close you move through the editor fast. SHould you see your map from some 'sky view' it starts lagging and even menus/triggers/object data everything doesnt open smoothly.
 
Level 2
Joined
Mar 19, 2008
Messages
59
Vista has a higher ram requirement than xp fosho
I wouldnt be surprised if Win7 raised it a bit
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
There is no solution to dated or capped hardware.

As a serious SC2 developer, you will probably want a pretty good system so you can ultra the game. Doing that should leave you with 4+ GB of RAM in the process due to the size of modern memory modules.

I am running SC2 at ultra on W7 ultimate 64 bit while having editor (also ultra) running and getting no slowdowns cause I have 6 GB or DDR3.

There are 2 solutions you could do.
1. The recommended fix of getting yourself more RAM, 4GB will eliminate the problem totally.
2. Reducing the quality at which the game runs, at low both in the editor and ingame you will probably reduce memory usage by many hundred megabytes, removing the need to page some of it to virtual memory and thus boost performance.

Blizzard could also make a fix for this problem by loading art (models, textures etc) into a common pool of memory shared between the editor and the game. If they did this it would prevent unnescescary duplication of data and thus cut many hundred MB off the needs to run both editor and game at the same time.

In the end you have modern sloppy programming practices to blame. People just throw in more RAM instead of making the RAM they have go further.
 
Level 4
Joined
Jul 2, 2007
Messages
53
Vista has a higher ram requirement than xp fosho
I wouldnt be surprised if Win7 raised it a bit

i have managed to tweak win7 to use only 24%-25% after boot, 512 only, however after some time it looks like windows grab more memory just for fun - to 30-35% (no programs started) , i suspect that this part of code was written personally by Bill Gates (just to make fun of users, he love it)
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
CEMEH_CEMEHbl4, your conspiracy theories annoy me as you clearly have not looked up why windows does this.

The reason the OS uses more memory over time is cause it caches data. This means that data recently loaded will not have to be reloaded from the hard disk next time it is needed so the system will respond faster.

For example start WC3 from a clean boot, you will notice WC3 taking a little while to load (10 seconds here). Now close it and imideatly restart it, it will now take under half the time it did before (3 seconds here). This is cause the WC3 data has been chached into part of the system memory. The same principle is behind maps loading faster the second time you load a map since a reboot although most of the map loading time is due to blizzards O(n) nonsense they added in WC3 (SC2 I think does not do this thus why it loads so fast).

The cache should be among the first data to be unallocated from RAM when reaching your limit as it is non vital. Additionally there are third party utilities you can download which force the OS to drop its cached data from RAM however generally there should be no need for such tools.

I am also prety sure there is some visible or hidden configuration for the OS to change its cacheing behaviour if you wish. Again there should be no need to do this and removing cahcing will noticeably lower responsivness of some applications and games.
 
Level 9
Joined
Dec 17, 2007
Messages
431
Do you have more than one map open? try close it and start it again, and just open up a single map.

I have Vista which should take up a bit more memory than Win7, with 2Gb as well, and I can keep the editor open as well as the game, when testing and only going to about 70-80% usage.
 
Level 9
Joined
Nov 28, 2008
Messages
704
Close the terrain editor module. Leave triggers and data open. Less graphics work, perhaps.

Editor takes up 300 mb on my machine. Not sure where your 800-1000 mb is coming from.
 

Dr Super Good

Spell Reviewer
Level 64
Joined
Jan 18, 2005
Messages
27,202
He has no problem with the editors memory usage or the games memory usage.

The problem he has is when both are open. He can run each fine singally but together his RAM does not sufice.

The editor is 300 MB odd on a blank map with few windows open and no models loaded and the game itself is 200-300 MB larger due to the engine. You are looking at a gigabyte just to run both at the same time on near blank maps.

For more complex maps with more stuff loaded it will be bigger.

Lower model, texture and shader levels will probably reduce size drastically due to less data needing to be loaded.
 
Status
Not open for further replies.
Top