473,394 Members | 1,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

Linking tables and memory growth

I have a large database application with user data in a backend and
forms, code etc in a frontend. It includes a facility for migrating
data from an earlier backend to the current backend by linking to the
second backend and moving data between corresponding tables. Problem is
that Access invariably crashes during this process.

I have taken the migrate forms and code into a separate database and
observed that the memory used by MSACCESS.EXE grows from about 28M to
235M after one migrate operation. There are a little over 200 tables in
the backend database so during the migrate, an additional 200 links are
created in the frontend. Access usually crashes on the second attempt.

I have narrowed the memory growth to the TransferDatabase operation,
but it doesn't matter if I create the link, copy the data and then
delete it, or create all the links, use them and delete them as a
block. Generally it is in deleting the links that Access crashes.

Does anyone have any experience with this problem or any suggestions?

Watto

Oct 19 '06 #1
2 1845
Does anyone have any ... suggestions?

Don't use links. Just use SQL and explicit designations of the
databases.

eg.

CurrentDb.Execute "INSERT INTO " _
& "[C:\Documents and Settings\Lyle\My
Documents\Access\db1.mdb].[Table1] " _
& "SELECT * FROM " _
& "[C:\Documents and Settings\Lyle\My
Documents\Access\db2.mdb].[Table1]"

Oct 19 '06 #2
Are all 200 tables really different? ie would it be possible to put
some of the tables into one table with an extra field indicating the
table it was originally in.

Although this may require reworking some of the queries you have
developed based on these tables you may find that this is not such a
difficult task and if a large number of these table are similar it
maybe one query where you previously had many.

watto wrote:
I have a large database application with user data in a backend and
forms, code etc in a frontend. It includes a facility for migrating
data from an earlier backend to the current backend by linking to the
second backend and moving data between corresponding tables. Problem is
that Access invariably crashes during this process.

I have taken the migrate forms and code into a separate database and
observed that the memory used by MSACCESS.EXE grows from about 28M to
235M after one migrate operation. There are a little over 200 tables in
the backend database so during the migrate, an additional 200 links are
created in the frontend. Access usually crashes on the second attempt.

I have narrowed the memory growth to the TransferDatabase operation,
but it doesn't matter if I create the link, copy the data and then
delete it, or create all the links, use them and delete them as a
block. Generally it is in deleting the links that Access crashes.

Does anyone have any experience with this problem or any suggestions?

Watto
Oct 19 '06 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Dave Serrano | last post by:
I have a question about altering tables and growth of the database and transaction log. I have a database which is approximately 35GB. I had to make a change to a column in the largest table...
10
by: Generic Usenet Account | last post by:
I have worked out a very simple method for tracking the "memory growth" of a process at run time. It involves a header file and a shell script. Here's the header file: ////////// Header File...
5
by: Zambien | last post by:
Hi all, Here's my problem. I have tables that are using the menu/submenu idea for hiding rows. This works fine in IE (of course) and does show/hide correctly in netscape, but as soon as the...
0
by: gasturbtec | last post by:
please help im new at access programming and i just got this project dropped in my lap because the old programmer quit. i've been doing ok so far but now i need to add code to an existing database...
3
by: Thomas F.O'Connell | last post by:
I'm helping manage a postgres installation that continually consumes a considerable amount of disk space, and I'm hoping to learn a bit more about both treating the symptoms and addressing the...
7
by: Salvador | last post by:
Hi, I am using WMI to gather information about different computers (using win2K and win 2K3), checking common classes and also WMI load balance. My application runs every 1 minute and reports...
74
by: ballpointpenthief | last post by:
If I have malloc()'ed a pointer and want to read from it as if it were an array, I need to know that I won't be reading past the last index. If this is a pointer to a pointer, a common technique...
81
by: Peter Olcott | last post by:
It looks like System::Collections::Generic.List throws and OUT_OF_MEMORY exception whenever memory allocated exceeds 256 MB. I have 1024 MB on my system so I am not even out of physical RAM, much...
4
by: David C | last post by:
The w3wp.exe process' memory seems to go from below 200M to over 1G with no warning, causing Memory.Exception. I have searched around and read some answers, and most seem very vague. They say...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.