Hi!!,
How can i use Ram memory or virtual memory to crear a file???
The idea is to create a file in a temporaly space, something like RAM memory
or virtual memory.
Thanks 4 1107
Hi Julián,
You'll want to look at the MemoryStream class in the System.IO
namespace. There are a couple good examples in the docs on how to use
it.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 12 Nov 2004 18:31:38 +0100, "Julián Sanz García"
<js****@gpm.es> wrote: Hi!!,
How can i use Ram memory or virtual memory to crear a file???
The idea is to create a file in a temporaly space, something like RAM memory or virtual memory.
Thanks
yes, i know. But the thing i have to do is to read a binary file from
database, and create this file in virtual memory to send it in a mail
without write in physical memory.
"Scott Allen" <bitmask@[nospam].fred.net> escribió en el mensaje
news:qq********************************@4ax.com... Hi Julián,
You'll want to look at the MemoryStream class in the System.IO namespace. There are a couple good examples in the docs on how to use it.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 12 Nov 2004 18:31:38 +0100, "Julián Sanz García" <js****@gpm.es> wrote:
Hi!!,
How can i use Ram memory or virtual memory to crear a file???
The idea is to create a file in a temporaly space, something like RAM
memoryor virtual memory.
Thanks
I am not sure what you mean, Julián. From .NET and user mode Win32 we
do not have access to physical memory, only virtual memory, which is
just an abstraction on top of physical memory.
My understanding was you wanted to avoid writing to disk.
--
Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 12 Nov 2004 19:06:11 +0100, "Julián Sanz García"
<js****@gpm.es> wrote: yes, i know. But the thing i have to do is to read a binary file from database, and create this file in virtual memory to send it in a mail without write in physical memory.
exactly, my english is not so good, I want to avoid writing to disk but i
want to acces to file with physical paths
"Scott Allen" <bitmask@[nospam].fred.net> escribió en el mensaje
news:jk********************************@4ax.com... I am not sure what you mean, Julián. From .NET and user mode Win32 we do not have access to physical memory, only virtual memory, which is just an abstraction on top of physical memory.
My understanding was you wanted to avoid writing to disk.
-- Scott http://www.OdeToCode.com/blogs/scott/
On Fri, 12 Nov 2004 19:06:11 +0100, "Julián Sanz García" <js****@gpm.es> wrote:
yes, i know. But the thing i have to do is to read a binary file from database, and create this file in virtual memory to send it in a mail without write in physical memory. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Andreas Suurkuusk |
last post by:
Hi,
I just noticed your post in the "C# memory problem: no end for our problem?"
thread.
In the post you implied that I do not how the garbage collector works and
that I mislead people. Since...
|
by: Frank Esser |
last post by:
I am using SQL 8 Personal edition with sp2 applied. I set the max
server memory to 32MB and leave the min server memory at 0. When my
application starts hitting the database hard the memory usage...
|
by: xixi |
last post by:
hi, we are using db2 udb v8.1 for windows, i have changed the buffer
pool size to accommadate better performance, say size 200000, if i
have multiple connection to the same database from...
|
by: ravi |
last post by:
I have a situation where i want to free the memory pointed by a
pointer, only if it is not freed already. Is there a way to know
whether the memory is freed or not?
|
by: Sharon |
last post by:
I have an application that fails to allocate all its memory on physical memory.
I have a Windows XP with 2 GByte RAM.
Can anybody tell me how to configure the allowed physical memory for each...
|
by: Arun Kumar Surendran |
last post by:
what is the main use of virual directory
how it work pls clear my doubt
|
by: Peter Olcott |
last post by:
It looks like System::Collections::Generic.List throws and OUT_OF_MEMORY
exception whenever memory allocated exceeds 256 MB. I have 1024 MB on my system
so I am not even out of physical RAM, much...
|
by: kumarmdb2 |
last post by:
Hi guys,
For last few days we are getting out of private memory error. We have a
development environment. We tried to figure out the problem but we
believe that it might be related to the OS...
|
by: Jean-Paul Calderone |
last post by:
On Tue, 22 Apr 2008 14:54:37 -0700 (PDT), yzghan@gmail.com wrote:
The test doesn't demonstrate any leaks. It does demonstrate that memory
usage can remain at or near peak memory usage even after...
|
by: ryjfgjl |
last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
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...
|
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...
|
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...
|
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,...
| |