forums.silverfrost.com Forum Index forums.silverfrost.com
Welcome to the Silverfrost forums
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

create_graphics_region@
Goto page Previous  1, 2
 
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support
View previous topic :: View next topic  
Author Message
JohnCampbell



Joined: 16 Feb 2006
Posts: 2554
Location: Sydney

PostPosted: Thu Feb 01, 2007 4:31 am    Post subject: Reply with quote

Eddie,

You may be right with the 24 bit colour. Certainly rgb@ returns a 24 bit value range. Clearwin+ may use a 3 byte storage for each pixel, although I've never tried it. (May be I should define a type colour variable using rgb as integer*1, for my screen buffer, although I've never considered this memory to take a lot.)

One interesting thing I noticed when running the test program and monitoring with Task Manager, was that the memory demand for the program never grew by very much at all, but that may relate to the memory not being taken by the program until it is actually used, rather than only being allocated.

It all sounds like a limit of a 64k memory packet on my system, but how do the other tests reported get more than this apparent 64k limit?

( On the issue of file size, I've certainly created fixed length record fortran files up to 8gb on w2k and XP (my software limit) and I think Salford can create much larger. )

John C.
Back to top
View user's profile Send private message
LitusSaxonicum



Joined: 23 Aug 2005
Posts: 2388
Location: Yateley, Hants, UK

PostPosted: Thu Feb 01, 2007 1:25 pm    Post subject: Reply with quote

John,

Perhaps the memory packet is larger on a 2Gb system, or there may be a finite number of them, which is how they come to be odd-ish sizes (and this would account for the 2Gb systems permitting more than twice as big, as the extra Gb is free from OS encumbrances compared to the first Gb.

All speculation, of course. The proof of this hypothesis would be to turn off virtual memory. I may experiment on a spare machine tonight.

Eddie
Back to top
View user's profile Send private message
Heise



Joined: 13 Feb 2007
Posts: 5

PostPosted: Sun Mar 18, 2007 5:13 am    Post subject: Reply with quote

John, Eddie, others,

I, too, have experienced the same issue in trying to create large graphics regions. Have you by chance isolated the particular system setting that might allow larger regions?

I have also experienced problems with calls to GET_SCREEN_DIB@ after successfully creating a large graphics region. When the size of the graphics region approaches the upper limit, GET_SCREEN_DIB@ returns 0.

Interestingly, my development machine (WinXP with 512MB RAM) allows larger regions than other machines with more memory! So, size of region allowed is not necessarily proportional to amount of RAM (as had been suggested by John's tests). As discussed, there is something else in play.

[Note: I edited this post on 19 Mar 2007 to more accurately reflect my situation after further diagnosis.]

Thanks,
David Heise
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    forums.silverfrost.com Forum Index -> Support All times are GMT + 1 Hour
Goto page Previous  1, 2
Page 2 of 2

 
Jump to:  
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 vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group