Results 1 to 4 of 4
  1. #1
    Sonu is offline Advanced Beginner
    Windows 7 64bit Access 2016
    Join Date
    Aug 2019
    Posts
    35

    System Resources Exceeded - MS Access 2016 Error

    Dear All,




    Need some quick inputs. I am using MS Access 2016 on a 64 bit Windows machine. I am trying to run a report, that eventually runs a whole bunch of queries. In between the queries execution, an error pops up with message "System Resources Exceeded".


    To fix this, I have gone through many searches and have tried the below so far:


    1) Task manager -> processes -> change the Affinity setting of MS Access.exe to just one CPU. ==> Once I did this, I could see that this time more number of queries executed than earlier but again failed with the same error.


    2) I could see some patches available for this issue, but none for Access 2016, hence couldn't do anything here.


    Also, I noticed that the required registry keys are not at the desired locations ( I am not sure, if that's the cause of the issue; any of the below paths do not exist in my machine):


    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Office\14.0\ Access Connectivity Engine\Engines


    HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Microsoft\ Office\14.0\Access Connectivity Engine\Engines


    Any help in this regard will be appreciated!


    Thank you.

  2. #2
    ranman256's Avatar
    ranman256 is offline VIP
    Windows Vista Access 2010 32bit
    Join Date
    Apr 2014
    Location
    Kentucky
    Posts
    9,550
    You may have to restructure your queries. Simplify.

  3. #3
    Minty is offline VIP
    Windows 10 Access 2016
    Join Date
    Sep 2017
    Location
    UK - Wiltshire
    Posts
    3,157
    How many queries is a "Bunch" ?

    If the report is based on bits of all of them and they are nested then effectively they will all trying to be opened one after the other in the background.
    How many records would be accessed by the process?
    How much memory do you have on the machine in question where the error is happening?

    You may need to use some temporary tables if the queries are overly complicated, and you are running out of memory.
    Last edited by Minty; 09-30-2019 at 07:56 AM.
    DLookup Syntax and others http://access.mvps.org/access/general/gen0018.htm
    Please use the star below the post to say thanks if we have helped !
    ↓↓ It's down here ↓↓

  4. #4
    isladogs's Avatar
    isladogs is offline Access MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,204
    Access 2016 is version 16.0 so you wouldn't expect to find entries for 14.0 which is A2010.
    The wow6432Node entry is for 32-bit Office on 64-bit Windows.
    If you have both with the same bitness, the other path would be appropriate (but 16.0)…
    BUT if you have Office365 the path will be different again with a ClickToRun component

    Confused yet...?

    Anyway there are various ways of dealing with that error including
    1. Checking for available connections and ensuring objects including recordsets are closed/destroyed after use
    See http://www.mendipdatasystems.co.uk/a...ons/4594418530
    2. Increasing the MaxLocksPerFile setting in the registry
    3. Increasing the MaxBufferSize
    A forum or Google search should throw up many hits for items 2 & 3
    Colin Riddington, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I know I don't know, I keep quiet!

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Error Handling "System Resources Exceeded"
    By Chad Access in forum Programming
    Replies: 3
    Last Post: 06-22-2018, 04:31 AM
  2. Getting error System resource exceeded
    By princydisney in forum Access
    Replies: 1
    Last Post: 08-22-2017, 04:55 PM
  3. Replies: 3
    Last Post: 03-14-2016, 05:10 AM
  4. Replies: 4
    Last Post: 01-15-2016, 08:11 AM
  5. Replies: 12
    Last Post: 12-11-2012, 01:47 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums