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.Binary Write to display a dynamic image on a web page.
The server is Windows 2000 SP4.
The web page contains anywhere from 1 to 6 images, where the HTML code
is something like "<IMG SRC='img.asp?so me_parameters.. .'>". Also, the
web page contains a timer so that these images are refreshed every 10
seconds. This means that the "img.asp" page, which is instantiating
the DLL, can be called very often.
When I start IIS, everything is fine. Then, after about 4-5 minutes,
the img.asp page starts to return the 500 HTTP error code, with the
mention that "Server.CreateO bject failed : ran out of memory". The
internal error code is "ASP 0107". Sometimes I also get the "Type
mismatch - ASP 0105" error.
The IIS application is set up as highly isolated.
I tried de-registering and re-registering the DLL, but that didn't
help.
We have another server (more recent) set up the same way, except that
it's SP3, and it works just fine. Note that before setting the
application as highly isolated in IIS for that second server, we were
having the same problems.
I have searched extensively on the Microsoft web site as well as
Google Groups. I found quite a few references to the "ran out of
memory" error, but couldn't find a solution that would correct my
problem.
Can anyone help me ?
Thanks. 1 6660
I tried what you said, but :
1- I couldn't enable component spooling, as this setting was
inaccessible (greyed-out), and
2- I couldn't find the analyzer you are refering to...
I tried this though :
I created a test.asp page, which loads a table of 100 IMG's, each one
having its SRC set to the "img.asp" page, with different parameters.
I also put a META refresh on that page to 1 second.
After 5 refreshes on the bad server, all images are broken, and I get
the "Ran out of memory" error for each instance.
On the good server, everything works fine indefinitely...
Weird... Any other ideas ?
"Martin CLAVREUIL" <ma************ **@wanadoo.fr> wrote in message news:<u7******* *******@TK2MSFT NGP10.phx.gbl>. .. hi,
there can be a lot of issues. Let try this. Create, in the componant manager (mmc, componant manager) a new application. link your component to it, and enable component spolling. then check the result with the analyser (last node of the mmc tree)
"Snake Djip" <sn*******@yaho o.com> a écrit dans le message de news:33******** *************** ***@posting.goo gle.com... 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.Binary Write to display a dynamic image on a web page.
The server is Windows 2000 SP4.
The web page contains anywhere from 1 to 6 images, where the HTML code is something like "<IMG SRC='img.asp?so me_parameters.. .'>". Also, the web page contains a timer so that these images are refreshed every 10 seconds. This means that the "img.asp" page, which is instantiating the DLL, can be called very often.
When I start IIS, everything is fine. Then, after about 4-5 minutes, the img.asp page starts to return the 500 HTTP error code, with the mention that "Server.CreateO bject failed : ran out of memory". The internal error code is "ASP 0107". Sometimes I also get the "Type mismatch - ASP 0105" error.
The IIS application is set up as highly isolated.
I tried de-registering and re-registering the DLL, but that didn't help.
We have another server (more recent) set up the same way, except that it's SP3, and it works just fine. Note that before setting the application as highly isolated in IIS for that second server, we were having the same problems.
I have searched extensively on the Microsoft web site as well as Google Groups. I found quite a few references to the "ran out of memory" error, but couldn't find a solution that would correct my problem.
Can anyone help me ?
Thanks. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics |
by: John Bonds |
last post by:
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...
|
by: gambler |
last post by:
let's say you have:
var games = new Array();
games = new GAME(gameNum, rotNum1, rotNum2, ... );
(
so a sparsley populate array which enables me to locate a game usin
the game number without having to implement a "search" function on th
games array
|
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...
|
by: Rachel McConnell |
last post by:
Hello,
I have a Java web application using Hibernate to connect to a PostgreSQL
backend. I am seeing the below stack trace during processing of a set
of data consisting of around 1000 objects; for a 200 object set I don't
see the exception.
I believe the salient point is the Out Of Memory bit - marked below by
*****'s
The fact that this exception occurs during a call to
|
by: Olaf Noehring |
last post by:
Hi
how can I prevent / catch the error / work around this error:
"Fatal error: Allowed memory size of xxx bytes exhausted"
The script runs and stalls sometimes. Is there a way how I can prevent
this?
Olaf
--
| |
by: lawrence k |
last post by:
I've a jpeg image that is 514k, which doesn't strike me as very large.
Yet I'm running out of error when I try to resize it:
Fatal error: Allowed memory size of 20971520 bytes exhausted (tried to
allocate 12288 bytes) in
/home/httpd/vhosts/monkeyclaus.org/httpdocs/media/audio/pdsIncludes/resizeImageToSquare.php
on line 82
How can I protect against out-of-memory errors?
|
by: humbleaptience |
last post by:
I have a web application that uses a DLL using DLLImport.
Twice I have put the application live on the net and it has been used
hundreds or thousands of time before it has been strangely brought
down.
System.AccessViolationException: Attempted to read or write protected
memory. This is often an indication that other memory is corrupt. at
ProjApi.Proj.pj_init_plus(String pjstr) at coordinate.LLtoUTM(Int32
datumIn, Int32 datumOut,...
|
by: Pieter |
last post by:
Hi,
Since 10 days (the first time was the 10th of november) I have some weird
exception happening in an application here:
All (except 1 of the total of 5) users had this error now 1 of 2 times
during the last 10 days. It happens mostly during startup or closing of the
application, but sometimes just in the middle of nowhere. It doesn't point
to anyting special. I don't get a clue...
It's a Windows Forms VB.NET 2005 application. I roll...
|
by: news.microsoft.com |
last post by:
Who knows what it means when a Windows XP Pro SP2 produces a transient error
window from aspnet_state.exe saying "instruction at reference to
memory at . memory could not be read." every time it
shuts down? Do I need to do something special with data execution
prevention? What's wrong?
|
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,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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...
|
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,...
|
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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();...
|
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...
|
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
| |
by: muto222 |
last post by:
How can i add a mobile payment intergratation into php mysql website.
| | |