EldoS | Feel safer!

Software components for data protection, secure storage and transfer

OutOfMemoryException

Also by EldoS: RawDisk
Access locked and protected files in Windows, read and write disks and partitions and more.
#7824
Posted: 10/08/2008 10:11:45
by Khayralla AL-Athari (Standard support level)
Joined: 09/23/2008
Posts: 75

Hi all

(using FDisk Advanced version on XP mahine)
When I try to drag'n drop 2 files or more with size 766,000 KB, I got Out of Memory exception when the 2nd file start copying.


SetAllocationSize: Can't allocate memory : Error - Exception of type 'System.OutOfMemoryException' was thrown.
A first chance exception of type 'System.OutOfMemoryException' occurred in mscorlib.dll
A first chance exception of type 'System.OutOfMemoryException' occurred in mscorlib.dll
A first chance exception of type 'System.OutOfMemoryException' occurred in Mounter.exe
Exception of type 'System.OutOfMemoryException' was thrown.


Any help will be appreciated.

Khayralla
#7826
Posted: 10/08/2008 10:42:09
by Eugene Mayevski (EldoS Corp.)

Are you using some sample or your code?
If you are using VDisk or VMounter sample, then it's no wonder - they are using operating memory as a storage.


Sincerely yours
Eugene Mayevski
#7827
Posted: 10/08/2008 10:54:22
by Khayralla AL-Athari (Standard support level)
Joined: 09/23/2008
Posts: 75

I am using VDisk with some extra code.

1)Is it possible to avoid writing to Memory stream?
and show the user all information about the file (size and creation date which are saved in the database).

2)What I am doing now is making a copy from the file and save it in another folder with different name (to be processed later). but not as the Mapper application.

Khayralla
#7829
Posted: 10/08/2008 11:02:34
by Eugene Mayevski (EldoS Corp.)

You can write the data wherever you want. VDisk uses operating memory as a storage.


Sincerely yours
Eugene Mayevski
#7830
Posted: 10/08/2008 11:09:18
by Khayralla AL-Athari (Standard support level)
Joined: 09/23/2008
Posts: 75

1)Is it possible to avoid writing to Memory storage?
#7831
Posted: 10/08/2008 11:17:01
by Khayralla AL-Athari (Standard support level)
Joined: 09/23/2008
Posts: 75

Yes it is possible.

thanks
Also by EldoS: BizCrypto
Components for BizTalk® and SQL Server® Integration Services that let you securely store and transfer information in your business automation solutions.

Reply

Statistics

Topic viewed 3704 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!