473,608 Members | 2,287 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Windows XP "out of memory" error

I have designed a multi-threaded application that manipulates images (CCITT
Group 4 TIFF Images). I'm getting some strange behavior and I'm wondering if
anyone else is seeing the same thing. I run a batch process that reads in
pages of one of these TIFF files, separates them out into different TIFF
files, saves them to a file (in a new thread) and disposes properly of all
the memory that was used.

I run this batch process and monitor the memory usage using Task Manager. I
have 1.5 GB of RAM and a Dual P3-733 with a 133MHz bus. The process runs
fine and when I'm monitoring it. The RAM usage goes up and goes down
depending on how many threads are running (i.e. how large the last TIFF file
was), but always stays below about 550MB when I monitor it. Then I leave to
let it run on the massive amounts of image files waiting to be processed. It
seems that about 10-20 minutes after I leave however, the memory maxes out
and .NET raises the "Out of Memory" Exception.

The only thing I could think of was that my screen saver (default that comes
with XP) was somehow screwing things up so I disabled it and I'm testing it
now. Has anyone seen this before?

Thanks,

John
Jul 21 '05 #1
0 4060

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

Similar topics

3
3558
by: Bart Nessux | last post by:
def windows(): import os excludes = size_list = for root, dirs, files in os.walk('/'): total = for t in total: s = file(os.path.join(root,t)) size = s.read() size_list.append(size)
1
6655
by: Snake Djip | last post by:
Hi, I have a problem with a home-made DLL used in an ASP environment. It is coded in VB6, apartment-threaded. The DLL returns a binary PNG stream (an image). I use it with ASP's Response.BinaryWrite to display a dynamic image on a web page. The server is Windows 2000 SP4.
1
10817
by: richard turner | last post by:
Access 97 is running on an XP Home machine pulling up a database on an XP Pro machine. The XP Home machine has 512 megs of RAM, the XP Pro machine has 768 megs. Access 97 runs fine on both machines. However, when I recently tried to add another 256 megs of RAM to the XP Home machine, I can't even load Access. I get an "out of memory" error, "close unneeded programs and try again". The rest of my Office 97 apps work fine with the extra...
0
1565
by: SC | last post by:
I'm a newie in .net, and here is my problem. I have a windows application that pass trough a proxy to access a webservice. I use the following code to set the proxy: GlobalProxySelection.Select = new WebProxy(new Uri("http://ip:port/"),true); GlobalProxySelection.Select.Credentials = new NetworkCredential(usr, pass); Well, the problem is that i get an "The operation has timed-out" error. I try a lot of different ways to set the...
2
1908
by: WJScott69 | last post by:
C# - CSharp - WIN32 - WMI Progamming Issues with NT4 (Out of Memory) Hello, I am trying to inquire on servers ranging from Windows NT4 SP6a+ to Windows 2000-2003 I have the program working fine on all but the NT4 where I get a Out of Memory error. Please take a look at the enclosed project and let me know how I go about resolving this. I can get results from NT4 server but dont seem to be able to collect everything I need. I have even...
3
3006
by: RD | last post by:
I have a VBV.NET application that runs on a timer to do a job at one hour intervals. Basically the sequence is as follows the timer event fires 1- the timer get turned off 2- the code then checks to see if we're just changed hour from when the previous transfer session took place IF yes the code executes an FTP transfer from an FTP site. When the transfer is completed the file received is parsed (it's a comma
7
2358
by: Dody Suria Wijaya | last post by:
Hi, I encountered a Memory Error Exception on using IMAP4 just like in Python documentation example, on a specially large email (10 MB). Any idea how to fix/circumvent this? >>> typ, data = M.fetch(89, '(RFC822)') Traceback (most recent call last): File "<stdin>", line 1, in ? File "C:\Python24\lib\imaplib.py", line 426, in fetch typ, dat = self._simple_command(name, message_set, message_parts) File "C:\Python24\lib\imaplib.py", line...
2
2291
by: Liverpool fan | last post by:
I have a VB .NET windows application that is throwing an intermittent 'out of memory' error. Here is the call stack. Out of memory. at System.Drawing.Graphics.FromHdcInternal(IntPtr hdc) at System.Windows.Forms.DibGraphicsBufferManager.CreateBuffer(IntPtr src, Int32 offsetX, Int32 offsetY, Int32 width, Int32 height) at System.Windows.Forms.DibGraphicsBufferManager.AllocBuffer(Graphics
1
2817
by: =?Utf-8?B?U3RhY3k=?= | last post by:
I installed Windows XP Service Pack 3 (KB936929) and Update for Windows XP (KB951978) last week and ever since then, I am getting an "out of memory" message every time I try to print or "print preview" in Microsoft Works Spreadsheet documents. Also all my documents will only print in Portrait mode and not Landscape. It's like I'm unable to change any print options. I keep getting the "out of memory" error message. Any solutions anyone????...
0
1397
by: taleden | last post by:
Hi, - I'm trying to load a large file (about 300MB) using pickle.load(). - The file contains a PyMl classifier object - When I load the file on my PC it works fine (with an XP operating system). - When I load the file on a remote computer with a windows server 2003 operating system I get a memory error. Anyone has any idea how to fix this? Thx, Tal.
0
8002
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8475
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8148
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
6816
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5475
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
3962
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4024
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2474
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
1329
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.