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

Memory access error on startup

Status
Not open for further replies.

bill147

Programmer
Jul 11, 2003
5
US
I am using C++Builder 5.0 I have a program that at startup it loads string lists and arrays from several ini files. When I load one particular ini file I sometimes get a memory access error when loading one of the other ini files. I saw this problem about a year ago. When I remark out some lines of code the error then occurs on a defferent line. I seems like the system is running out of memory to put data or pointers are getting overwritten - this is my guess. This is the strange part: I can have 2 computers that are identical with the same operating system from the same cd and one has the problem and the other doesnot. Also I had a customer using this program for 6 months with no problem then one day the problem appeared. Does anyone have any ideas on this.

Bill
 
Check your virtual memory size and see what programs are loaded in memory on each machine. I suspect that something has been added to the machine that stopped working. Also, it wouldn't hurt to reseat your memory chips, too.



James P. Cottingham

When a man sits with a pretty girl for an hour, it seems like a minute. But let him sit on a hot stove for a minute and it's longer than any hour. That's relativity.
[tab][tab]Albert Einstein explaining his Theory of Relativity to a group of journalists.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top