|
-
May 18th, 2004, 05:56 AM
#1
Thread Starter
New Member
Application running in 2000 but not in win98
.... its sad to see there is no reply by anyone so far.
awaiting still.....
is there any angel debugger???????
-------------------------------- problem as follows...
Hello.
We have developed an application where a user can create a greeting card using our background templates. The greeting requires user to select his/her image and also need to type the greeting message. The greeting is saved as BMP file of big file size around 100mb since the user have options to select largest paper size of 10"x15" with 300 DPI resolution.
The whole application is running well in windows 2000 plateforms but when I run the application in win98, Run Time Error, out of memory is shown and that too not during processing the card, this message is coming even when I click on Browse button for the user to select his image from his system. At some place or other this error pops up and application closes.
I am bugged fully with this error, Do you think I have to add some other components during installation of my application in win98?
Please update me at the earliest.
Thanks in advance.
Cartoon.
-
May 18th, 2004, 11:47 AM
#2
So Unbanned
Windows 98 has a GDI capacity of around 16 MB.
Once that is exceeded, out of memory.
Windows 2000 has a much larger GDI cache, built to adapt.
-
May 18th, 2004, 11:59 PM
#3
Thread Starter
New Member
...but then howcome other softwares like Photoshop or CorelDraw or Illustrator etc. works fine on win98 if it has so low capacity RAM...??
I thought if there is any more updated files need to be replaced.
If the above programs can run then why not our application. Is there any method in VB to handle memory problems?
-
May 19th, 2004, 04:46 AM
#4
Retired VBF Adm1nistrator
Originally posted by cartoon
...but then howcome other softwares like Photoshop or CorelDraw or Illustrator etc. works fine on win98 if it has so low capacity RAM...??
Scratch Disk
Microsoft MVP : Visual Developer - Visual Basic [2004-2005]
-
May 19th, 2004, 04:50 AM
#5
So Unbanned
Originally posted by cartoon
...but then howcome other softwares like Photoshop or CorelDraw or Illustrator etc. works fine on win98 if it has so low capacity RAM...??
I thought if there is any more updated files need to be replaced.
If the above programs can run then why not our application. Is there any method in VB to handle memory problems?
Because those programs observe GDI limits, and as plender said, scratch (or page to disk, if general RAM is not available) information the GDI heap cannot handle.
-
May 19th, 2004, 05:32 AM
#6
Thread Starter
New Member
...thanks DiGiTaIErRoR n' plenderj
Good to know about GDI RAM that windows98 has less GDI RAM, but can you suggest me any solution in VB6.0 to use scratch disk or page to disk method.
I have a person in my team who works in VC++, is it possible to get memory component done to rectify this problem in our application. He says yes, but I don't know how much helpful it will be. and that will also take lot of time in development (2 weeks) I cannot wait for that much time.
Bigger problem....
One more thing, this RUN TIME ERROR 07 (Out of Memory) is appearing in some other machines with windows2000/xp also, systems are of 256MB RAM P3s, So now it is more as a serious problem in all plateforms. I have to find the solution of this, please help me out to solve handle memory error. You can suggest scratch disk method or any other method.
...awaiting replies... thanks in advance.
-
May 21st, 2004, 12:49 PM
#7
BMP???
Ackkkk!
Use PDFLib.
-Lou
-
May 22nd, 2004, 02:41 AM
#8
Thread Starter
New Member
dear NotLKH, can you more elaborate on PDFLib. How can I use it to get rid of out of memory error.
Awaiting your reply....
-
May 22nd, 2004, 09:38 AM
#9
With PDFLib, you can build dynamic PDF's with custom text, place images, build graphics, use CMYK, RGB and spot colors, and end up with a file that would be propably much less than 100 MB. Now, I haven't used it on anything less than 2000, but I doubt you'd have a memory issue with it.
However, it costs $500, so you'd propably decide not to go that route. Therefore, if you really must generate BMP's, and you have memory issues building 1 Large BMP, why not break it up into n2 parts?
-Lou
-
May 22nd, 2004, 12:39 PM
#10
So Unbanned
Error 7 is caused by bad code.
"out of memory" no error code, it GDI overloading.
You may have a memory leak....
-
May 24th, 2004, 12:19 AM
#11
Thread Starter
New Member
thanks for your helps. It was really helpful to me all the suggestions what has been put forward by you all.
I am getting C++ components done to handle all these memory errors. Hope I will succeed in getting rid of this particular problem of getting Run Time Error 7 (Out of Memory)....
thank you all.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|