Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

A question of Memory

Status
Not open for further replies.

webpager

Programmer
Joined
Mar 27, 2001
Messages
166
Location
GB
I have an EPOS system which is operating at two remote locations, no network, just single machines. One of the machines crashes when I assign a number of Memvars. The machine is low on memory and the solution was to REPLACE items in the table rather than GATHER them.

My question is - Is REPLACE a lot more efficient method than SCATTER.
 
Not sure. Why don't you run some tests and let us know?

Darrell

'We all must do the hard bits so when we get bit we know where to bite' :-)
 
I can only go off my results so far.

Using several M.var etc. causes a fatal error.
Using REPLACE - app works fine.

I was just wondering if I'd solve the problem or was just a victim of coincidence.
 
Take a look at (and implement) faq184-3504

Not only does it 'do what it says on the tin', ie speed things up, but it also fixed a similar 'memory crashing' problem for me that you are experiencing now!

HTH
Neil

"I like work. It fascinates me. I can sit and look at it for hours..."
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top