It is currently Wed Sep 08, 2010 10:25 pm




Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 
Memory Issue 
Author Message

Joined: Fri May 15, 2009 2:49 am
Posts: 34
Post Memory Issue

My system specs:
Image

I do not know if this is a bug perse or an issue with memory management,
since this does not happen with DEEPSEA 12.13.

Loading a large map into DB2r1250, as for example map02 or map03 of PARANOID,
there is a perceptible lag when dragging the map across the screen or when
zooming in and out, which is quite annoying.

I'm just wondering if this could be improved somehow.


Sun Jul 25, 2010 7:21 pm
Profile
Developer

Joined: Fri May 15, 2009 3:45 pm
Posts: 126
Post Re: Memory Issue

Looks like it has something to do with the unknown flats. If you disable flat drawing, or set the flats to something known, drawing will be fast again.


Tue Jul 27, 2010 5:07 pm
Profile

Joined: Fri May 15, 2009 2:49 am
Posts: 34
Post Re: Memory Issue

Ah, thank you.
As I was loading patches, textures and flats into the map, the panning delay did become bearable.
So it is just a memory management issue.


Wed Jul 28, 2010 6:05 am
Profile
Developer

Joined: Fri May 15, 2009 3:45 pm
Posts: 126
Post Re: Memory Issue

Kappes Buur wrote:
So it is just a memory management issue.

By that statement I assume you looked at the code and found the problem. Please tell me where it is.

I looked at the code myself and I can't see anything wrong. But I don't have an profiler so I can't tell where it takes its time when redrawing.


Wed Jul 28, 2010 8:31 am
Profile
User avatar

Joined: Sun Jan 04, 2009 4:49 pm
Posts: 543
Post Re: Memory Issue

It becomes slow when it cannot find the flats (or other type of image) it needs to render. It renders the questionmark image instead, but getting that questionmark image somewhere makes it slow. It is not a memory issue, but a performance issue with the questionmark image. I have looked into this before (I think it unnecessarily makes a copy of it in memory when it renders it or some bullshit like that) and considered it too much work to properly fix it, compared to how much of a problem it actually is (You should just load textures/flats and you're fine).


Wed Jul 28, 2010 9:06 am
Profile
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 5 posts ] 


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group. Designed by Vjacheslav Trushkin for Free Forums/DivisionCore.