472,990 Members | 3,471 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes and contribute your articles to a community of 472,990 developers and data experts.

Use large address awareness to fix out of memory issues in 32-bit Access

isladogs
443 Expert Mod 256MB
Some members may have seen that MS plans to introduce large address awareness (LAA) in 32-bit Access. See Microsoft 365 Roadmap | Microsoft 365. Originally slated for Nov 2020, its now been put back to July 2021

I am therefore very grateful to Phillip Stiefel for both explaining what this means and for providing code that will allow you to implement LAA in Access now. See Phillip's article The /LARGEADDRESSAWARE (LAA) flag demystified

I won't attempt to summarise LAA here as Phillip's article explains this in detail. However, the result is that enabling LAA should significantly reduce or eliminate out of memory errors and you may also find that certain processes run faster.

I tested loading several large JSON files into my JSON Analyse & Transform for Access (JATFA) app and noticed some very definite improvements. See Word doc attached for test results

As a result, I have now made both A2010 & A365 LAA enabled. It only takes a few seconds to do

IMPORTANT:
1. You CANNOT run Phillip's code from the same application that you want to make LAA enabled. To make 32-bit Access LAA enabled, you must run the supplied code using a different Office app such as Excel using the Run As Administrator option

2. Any Microsoft 365 updates that update Access will (for now), disable LAA again. You will need to run the code again to re-enable LAA. However, as mentioned, it only takes a few seconds

I hope this information is useful to other forum members
Attached Files
File Type: docx JATFA Tests with LAA.docx (17.6 KB, 309 views)
Jan 22 '21 #1
0 3362

Sign in to post your reply or Sign up for a free account.

Similar topics

16
by: Justin Lazanowski | last post by:
Cross posting this question on the recommendation of an I have a .NET application that I am developing in C# I am loading information in from a dataset, and then pushing the dataset to a grid,...
16
by: JCauble | last post by:
We have a large Asp.net application that is currently crashing our production servers. What we are seeing is the aspnet_wp eat up a bunch of memory and then stop unexpectedly. Does not recycle. ...
0
by: ML | last post by:
We have a rather large vb.net winform app that multiple users access via sessions on s terminal server. We are running into issues where the application seems to be bogging down the terminal...
0
by: greg | last post by:
Hi, I am hosting hundreds of websites on a webserver using a combination of sql and asp. SQL is on a different server. The web server is running win 2003 iis 6 with a single processor and 1 GB...
3
by: tom | last post by:
He How to get address in memory? for example: I would like 'ADR' be the adress in memory where 'srtBuf' starts from debuger I know it is 0x003b1460 but how to get it by program? char* srtBuf...
17
by: Frank Rizzo | last post by:
Hello, I've compiled my app for AnyCPU setting in vs2005. Then I tried the app on both 32-bit Windows 2003 R2 and 64-bit Windows 2003 R2. The memory usage of the application when working on...
1
by: Daniel | last post by:
i seem to be having memory issues, will deplying a release build instead of a debug build help with memory usage of my .net process?
1
by: mono12 | last post by:
Hi! I have written code using STL hash_map in c++ and am running into memory issues. I have two kinds of hash_maps: A <int,int> which stores ~5million key-value pairs, and needs to be accessed...
1
BlackPanther
by: BlackPanther | last post by:
Has anyone found any issues running Access applications developed in 2003 under Access 2007?
2
by: CD Tom | last post by:
I have a 32bit access application that I call MS Word to do a mail merge. One of my clients got a 64bit version of MS Office (she didn't know better), now when she tries to do the mail merge she...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
by: Aliciasmith | last post by:
In an age dominated by smartphones, having a mobile app for your business is no longer an option; it's a necessity. Whether you're a startup or an established enterprise, finding the right mobile app...
4
NeoPa
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
4
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.