Hello all,
There is a message below 'Application Error... When querying data'.
What appears to be happening is that when I perform a lot of queries in
a row and bring back the information into a DataSet, the application will
crash. It will not crash every time, though.
It has a problem writing to certain memory locations, is what the error
states...
Any ideas what could be happening or do I need to post the code? There is a
bit of code, so I did not want to post it right away.
Thanks in advance!!
Andrew Mueller 6 2342
It appears that, for some reason, I am running out of memory.... That is
just a guess. The problem happens more frequently when I am trying to do
multiple things at once. If I leave the application alone, it runs fine.
Don't know if this helps the analysis, but thought I mention it....
Andrew Mueller
"Andrew Mueller" <am******@instechnet.com> wrote in message
news:u$*************@tk2msftngp13.phx.gbl... Hello all,
There is a message below 'Application Error... When querying data'.
What appears to be happening is that when I perform a lot of queries
in a row and bring back the information into a DataSet, the application will crash. It will not crash every time, though.
It has a problem writing to certain memory locations, is what the
error states...
Any ideas what could be happening or do I need to post the code? There is
a bit of code, so I did not want to post it right away.
Thanks in advance!!
Andrew Mueller
More tests....
I ran performance monitor on memory and there was plenty left.... The
application continues to crash now whether or not I am running another
application. It appears that after it crashes one time, it is more apt to
do it again. Does garbage collection work properly? Is there some portion
of my RAM which is now somewhat corrupt (in memory)? I cannot explain why
it would do this.
It ran fine 10 times before I tried loading other applications. Once I
did this, it crashed. Once it crashed, it continued to crash each time I
ran the program.
It crashes during the portion where it retrieves information from OLEDB
and brings back a calculated value. That is the only thing that is
happening at the time.
Andrew Mueller
"Andrew Mueller" <am******@instechnet.com> wrote in message
news:u$*************@tk2msftngp13.phx.gbl... Hello all,
There is a message below 'Application Error... When querying data'.
What appears to be happening is that when I perform a lot of queries
in a row and bring back the information into a DataSet, the application will crash. It will not crash every time, though.
It has a problem writing to certain memory locations, is what the
error states...
Any ideas what could be happening or do I need to post the code? There is
a bit of code, so I did not want to post it right away.
Thanks in advance!!
Andrew Mueller
The error DEFINITELY happens when:
I set focus to another application. Whether that be Exporer, or
anything else, that is when it will crash for sure. No amount of error
trapping appears to catch the error.
Andrew Mueller
"Andrew Mueller" <am******@instechnet.com> wrote in message
news:u$*************@tk2msftngp13.phx.gbl... Hello all,
There is a message below 'Application Error... When querying data'.
What appears to be happening is that when I perform a lot of queries
in a row and bring back the information into a DataSet, the application will crash. It will not crash every time, though.
It has a problem writing to certain memory locations, is what the
error states...
Any ideas what could be happening or do I need to post the code? There is
a bit of code, so I did not want to post it right away.
Thanks in advance!!
Andrew Mueller
Can anyone verify a possible problem??
I belive that if I create new OleDbDataAdapter objects often, I get the
error that I am seeing. It only happens occassionally, though. Mainly, as
I mentioned before, when I am focusing on other applications.
Thanks in advance,
Andrew Mueller
PS - At this point, it seems to have helped that I only create one
connection and change the Select statement only. This is a change because I
added to the Method within the class so that all the data iteration is done
within the class (as opposed to in the Call)
"Andrew Mueller" <am******@instechnet.com> wrote in message
news:u$*************@tk2msftngp13.phx.gbl... Hello all,
There is a message below 'Application Error... When querying data'.
What appears to be happening is that when I perform a lot of queries
in a row and bring back the information into a DataSet, the application will crash. It will not crash every time, though.
It has a problem writing to certain memory locations, is what the
error states...
Any ideas what could be happening or do I need to post the code? There is
a bit of code, so I did not want to post it right away.
Thanks in advance!!
Andrew Mueller
Try trapping the Application.ThreadException event. It will give you any
exception that WindowsForms catches in its code. It might be a genuine bug,
but without more information it will be impossible to tell.
--
Justin Rogers
DigiTec Web Consultants, LLC.
"Andrew Mueller" <am******@ins3.com> wrote in message
news:uN**************@TK2MSFTNGP12.phx.gbl... The error DEFINITELY happens when:
I set focus to another application. Whether that be Exporer, or anything else, that is when it will crash for sure. No amount of error trapping appears to catch the error.
Andrew Mueller
"Andrew Mueller" <am******@instechnet.com> wrote in message news:u$*************@tk2msftngp13.phx.gbl... Hello all,
There is a message below 'Application Error... When querying data'.
What appears to be happening is that when I perform a lot of queries in a row and bring back the information into a DataSet, the application
will crash. It will not crash every time, though.
It has a problem writing to certain memory locations, is what the error states...
Any ideas what could be happening or do I need to post the code? There
is a bit of code, so I did not want to post it right away.
Thanks in advance!!
Andrew Mueller
I know this sounds stupid.... But, I am a novice, and I am unsure how to do
this with a service application.
It seems there are a bunch of examples on the web for Windows Forms
applications, but none for services. Can you point me in the right
direction??
Thanks in advance,
Andrew Mueller
"Justin Rogers" <Ju****@games4dotnet.com> wrote in message
news:uQ**************@tk2msftngp13.phx.gbl... Try trapping the Application.ThreadException event. It will give you any exception that WindowsForms catches in its code. It might be a genuine
bug, but without more information it will be impossible to tell.
-- Justin Rogers DigiTec Web Consultants, LLC.
"Andrew Mueller" <am******@ins3.com> wrote in message news:uN**************@TK2MSFTNGP12.phx.gbl... The error DEFINITELY happens when:
I set focus to another application. Whether that be Exporer, or anything else, that is when it will crash for sure. No amount of error trapping appears to catch the error.
Andrew Mueller
"Andrew Mueller" <am******@instechnet.com> wrote in message news:u$*************@tk2msftngp13.phx.gbl... Hello all,
There is a message below 'Application Error... When querying
data'. What appears to be happening is that when I perform a lot of
queries in a row and bring back the information into a DataSet, the application will crash. It will not crash every time, though.
It has a problem writing to certain memory locations, is what the error states...
Any ideas what could be happening or do I need to post the code?
There is a bit of code, so I did not want to post it right away.
Thanks in advance!!
Andrew Mueller
This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Kim Petersen |
last post by:
Memory leak - malloc/free implementation - GC kicking in late - know bug
- or ?
Using python-2.2.2-26 on RH9 (shrike) x86 -fully patched
The following program slowly eats up more and more...
|
by: ranjeet.gupta |
last post by:
Dear All
Is the Root Cause of the Memory corruption is the Memory leak, ??
suppose If in the code there is Memory leak, Do this may lead to the
Memory Corruption while executing the program ?
...
|
by: Nikolay Petrov |
last post by:
I've got this issue:
When I start my application it takes a lot of memory. I guess this is caused
by CLR.
That's fine. But every time the app performs an action (open new form, load
data in...
|
by: Emmanuel Gehin |
last post by:
When I use the following code in VB.NET :
Public Function test() As String
Try
Dim da1 As OdbcDataAdapter
Dim i As Int32
Dim tfem As DataTable
For i = 0 To 1000
da1 = New...
|
by: James |
last post by:
The following code will create memory leaks!!!
using System;
using System.Diagnostics;
using System.Data;
using System.Data.SqlClient;
namespace MemoryLeak
|
by: diffuser78 |
last post by:
I have a python code which is running on a huge data set. After
starting the program the computer becomes unstable and gets very
diffucult to even open konsole to kill that process. What I am...
|
by: Frank Rizzo |
last post by:
Hello, I have a very frustrating issue I've been working on. I have a
routine that does the following:
1. Load a large (declared local to the function) DataSet from the
database. It contains...
|
by: Simon |
last post by:
Hi all,
I'm having a baffling problem with a windows service that I'm working on.
Basically, I am using a typed dataset to insert a large number of rows
into an SQL Server 2005 database. But...
|
by: Simon |
last post by:
Hi all,
I have a huge memory leak problem in what is really very simple data
insert code.
In my app I'm trying to use a typed dataset to insert into a database.
It adds quite a few rows (say...
|
by: Aleks Kleyn |
last post by:
I wrote application on asp.net 2.0 using dataset. One dataset I put in
session collection and other (which is small and common for other users) I
put in application. I expected that it will get...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
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
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
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...
|
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: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |