EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Virtual Memory troubles

Also by EldoS: MsgConnect
Cross-platform protocol-independent communication framework for building peer-to-peer and client-server applications and middleware components.
#15286
Posted: 12/13/2010 06:15:12
by Filippo Solimando (Standard support level)
Joined: 06/23/2009
Posts: 10

Hello, we are using CBDisk mapping a drive on a file, like the FileDisk example.

If the file mapped is big (equal or more than 1 GB), after we formatted it and/or with long work sessions on the mapped driver, we receive the system error about memory terminated.
This happens much more on Windows 7 systems than Windows XP.

The mapped file is opened by CreateFile function, with FILE_FLAG_NO_BUFFERING and FILE_FLAG_WRITE_THROUGH attributes.

Is it possible the FILE_FLAG_NO_BUFFERING flag can cause the system uses so much memory?

Many thanks
#15287
Posted: 12/13/2010 06:38:52
by Eugene Mayevski (EldoS Corp.)

First of all please assign the license ticket to your user account to get Standard support level.

Next, the information you have provided is not enough. Is system running out of kernel memory or it's your application's memory growing? Did you try using memory leak detection tools to find out the source of the leak?

The very least you can do is run Task Manager, select all memory-related columns (via Select Columns... menu item in Task manager) and see if your application consumes more and more memory while you use it. This will give you a hint regarding what operations cause the leak.


Sincerely yours
Eugene Mayevski
#17094
Posted: 07/21/2011 01:25:20
by Lemon Yang (Standard support level)
Joined: 11/24/2009
Posts: 48

This problem occurred as well under WIN7 system, we tested in several computers, it occurs very time.

The steps as below:
1. Create a 40G virtual disk
2. Copy 20G files into the virtual disk.
3. The copy procedure became more and more slowly and after 10G files, the virtual memory exhausted and we can't do more operations until restart computer.

we checked the memory allocated from task manager, only about 2M from our applications.

I google-ed the big file copying in win7, it looks like there are some similar problems. did you test the big file under WIN7 OS? could you try it? thanks.
#17095
Posted: 07/21/2011 03:03:16
by Eugene Mayevski (EldoS Corp.)

This issue must have been fixed after the last build. We have plenty of updates so we plan making CallbackDisk 2.1 beta within several days. That version will include the necessary fixes for the above issue as well.


Sincerely yours
Eugene Mayevski
#17124
Posted: 07/25/2011 01:53:16
by Volodymyr Zinin (EldoS Corp.)

FYI: the beta version of CallbackDisk 2.1 is available on pre-release download page (URL: http://www.eldos.com/cbdisk/download-prerelease.php).
Also by EldoS: CallbackFilter
A component to monitor and control disk activity, track file and directory operations (create, read, write, rename etc.), alter file data, encrypt files, create virtual files.

Reply

Statistics

Topic viewed 4354 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!