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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Pervasive Engine Initialisation Failure

Status
Not open for further replies.

noodles1

Programmer
Oct 31, 2001
58
I have a server with 3Gb RAM and 4 CPUs, running Windows 2000. When the server boots without starting Pervasive there is about 2.7Gb physical memory free.

Installed Pervasive for NT/2000. Pervasive engine starts successfully with default settings (Cache size 20% of physical memory).

Adjusted Cache setting to optimum setting of 40% of physical memory. Service starts but first access generates error 1021 (failure to initialise).

After a bit of experimentation, found that largest cache size that engine would work with was the default setting.

Anyone experienced this situation?
 
Well I'm guessing that your using Pervasive 2000i, and the default should be used. It will adjust to the memory and usage and such.

IF your using V7 I found out that the optimal Size of the cache is a little less that half availiable ram. It seems to slow and have strange periods of lag beyond that. Just my experience, with it.
And usually if it can't start, its because it can't allocate the ram, (maybe not contiguous ram) , or the Temp folder isn't valid.
 
Pervasive.SQL V7 and 2000 require contiguous RAM for the cache. That's why you can't get as large a cache as you would expect. About the largest cache I've seen with 7.0 and 2000 was about 700MB.
V8 does things differently so it can access a larger cache, although you may not need as large a cache with V8 because it does things differently.

info@mirtheil.com
Custom VB and Btrieve development.
Certified Pervasive Developer
Certified Pervasive Technician
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top