Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Queries / July 2006

Tip: Looking for answers? Try searching our database.

What's max limit for MAXLOCKSPERFILE in registry?

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
PDIHAL - 14 Jul 2006 20:37 GMT
I keep getting error when trying to add a new autonumbered field to files
with >50,000 records. Error messages suggests changing the  MAXLOCKSPERFILE
setting in registry. How much more than its default 9500 can I go? Is it
affected by RAM?
david@epsomdotcomdotau - 15 Jul 2006 23:44 GMT
It is affected by RAM, I think it is a 32 bit integer value, on a modern
machine you will probably hit the Jet Cache memory limit before you hit the
MAXLOCKSPERFILE memory limit.

(david)

> I keep getting error when trying to add a new autonumbered field to files
> with >50,000 records. Error messages suggests changing the  MAXLOCKSPERFILE
> setting in registry. How much more than its default 9500 can I go? Is it
> affected by RAM?
PDIHAL - 17 Jul 2006 14:22 GMT
What's the Jet Cache memory limit on a PC with 1GB PC4000 memory? How does
one find this value on his/her machine?

> It is affected by RAM, I think it is a 32 bit integer value, on a modern
> machine you will probably hit the Jet Cache memory limit before you hit the
[quoted text clipped - 7 lines]
> > setting in registry. How much more than its default 9500 can I go? Is it
> > affected by RAM?
david@epsomdotcomdotau - 18 Jul 2006 00:27 GMT
1) just change the locks: if you run out of cache you will get an error,
if not, why worry?

2) look at help for DAO SetOption to find more on jet engine options

3) max cache is something like 13.5MB unless you set a specific
value, then it runs out at about 250 MB. If you have 1GB, that
still leaves 750 MB for locks, so I don't expect any locks you use will fill
up memory.

(david)

> What's the Jet Cache memory limit on a PC with 1GB PC4000 memory? How does
> one find this value on his/her machine?
[quoted text clipped - 10 lines]
> > > setting in registry. How much more than its default 9500 can I go? Is it
> > > affected by RAM?
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.