473,394 Members | 1,932 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

memory sharing between application solutions

I am having an issue to where I need to share memory between an ASP.Net
solution and a VB.Net solution. I have several large arrays and
collections that are updated every half second. The data is only
about 30k, but saving to a file or stringing into text uses too much
processor time. I would appreciate any suggestions, Thank you
Dec 9 '05 #1
4 1243
Mkillian,

After the 60's there have not been much operatingsystems (which where not
before that time), which makes it you able to share memory.

What you can do is give informations from one application to another. The
words to search for that on MSDN are pipes (what you probably need) or
remoting when it is about a multi computer environment.

Probably do you need a windowservice to handle your problem.

I hope this helps,

Cor
Dec 10 '05 #2
I understand that the OS will not directly share out memory as it breaks up
the process memory into virtual memory with a 2/4 gig limit. I suppose I am
looking for a solution somewhat similiar to an activex exe where there is
some process in between each .NET solution that will have a singleton
approach. I'm just hoping I do not have to use VB6 to link my .NET solutions.

"Cor Ligthert [MVP]" wrote:
Mkillian,

After the 60's there have not been much operatingsystems (which where not
before that time), which makes it you able to share memory.

What you can do is give informations from one application to another. The
words to search for that on MSDN are pipes (what you probably need) or
remoting when it is about a multi computer environment.

Probably do you need a windowservice to handle your problem.

I hope this helps,

Cor

Dec 12 '05 #3
Mkillian,

Why do you want to emulate a method from the 60's while there are so much
new methods made after that.

Just my thought,

Cor
"mk******@osmose.com.nospam"
<mk*********************@discussions.microsoft.com > schreef in bericht .
I understand that the OS will not directly share out memory as it breaks up
the process memory into virtual memory with a 2/4 gig limit. I suppose I
am
looking for a solution somewhat similiar to an activex exe where there is
some process in between each .NET solution that will have a singleton
approach. I'm just hoping I do not have to use VB6 to link my .NET
solutions.

"Cor Ligthert [MVP]" wrote:
Mkillian,

After the 60's there have not been much operatingsystems (which where not
before that time), which makes it you able to share memory.

What you can do is give informations from one application to another. The
words to search for that on MSDN are pipes (what you probably need) or
remoting when it is about a multi computer environment.

Probably do you need a windowservice to handle your problem.

I hope this helps,

Cor

Dec 12 '05 #4
I've looked into pipes and found that I cannot use pipes for our application.
These applications are not on servers, which are required for a server
pipe.
http://msdn.microsoft.com/library/de...lnamedpipe.asp

I was rather hoping that there would be a function in which I could just
pass a pointer to another process with public arrays. I have 3 boolean
arrays of 3000 x 4 dimensions. 4 short arrays of 3000 x3 and 4 double
arrays of 2000x7. It just seems like there should be a better method than
pipes aside from the whole server issue.

I would have to stuff 8 bits per byte, across 12 dimensions...for the
booleans. Reverse that on the way out. Same flip process on the values >
256.

..NET has included the Memory Marshal object where within a process, memory
can be re-allocated and create a duplicate of memory from pointer A - B.

I suppose I am hoping for a solution that will be faster than doing any
bitwise compression because all of these values have a need to be read by
BOTH solutions every second....24/7 hopefully for years. This system has no
media storage for saving a file other than RAM.

I hope that explains more to what I am looking for, and why.

Thanks for your advice Cor
"Cor Ligthert [MVP]" wrote:
Mkillian,

Why do you want to emulate a method from the 60's while there are so much
new methods made after that.

Just my thought,

Cor
"mk******@osmose.com.nospam"
<mk*********************@discussions.microsoft.com > schreef in bericht .
I understand that the OS will not directly share out memory as it breaks up
the process memory into virtual memory with a 2/4 gig limit. I suppose I
am
looking for a solution somewhat similiar to an activex exe where there is
some process in between each .NET solution that will have a singleton
approach. I'm just hoping I do not have to use VB6 to link my .NET
solutions.

"Cor Ligthert [MVP]" wrote:
Mkillian,

After the 60's there have not been much operatingsystems (which where not
before that time), which makes it you able to share memory.

What you can do is give informations from one application to another. The
words to search for that on MSDN are pipes (what you probably need) or
remoting when it is about a multi computer environment.

Probably do you need a windowservice to handle your problem.

I hope this helps,

Cor


Dec 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Murat Tasan | last post by:
hi, i have a java application that can be fairly memory intensive. so, when i run the program, i use the -Xmx option to prevent out of memory errors. in particular, i have been using -Xmx512m,...
6
by: Tom | last post by:
We have a VERY simple .NET C# Form Application, that has about a 23MB Memory Footprint. It starts a window runs a process and does a regular expression. I have done a GC.Collect to make sure that,...
1
by: Simon Neve | last post by:
Hello, This question is related to sharing .Net projects across solutions and is reposted from the SourceSafe group. We have several different solutions and want to share common assemblies...
16
by: Justin Lazanowski | last post by:
Cross posting this question on the recommendation of an I have a .NET application that I am developing in C# I am loading information in from a dataset, and then pushing the dataset to a grid,...
13
by: Selma_g | last post by:
Hi, I am wondering if the bufferpools and agent memory canbe shared within a EE UDB instance (running 7.2 AIX 5 now but going to V8.1). Our business model requires us to add about 1-2 db's per...
22
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...
9
by: Anton | last post by:
{Willy Skjveland} Hi, how can I trace a Memory leak in aspnet_wp.exe? {Rheena} One moment please while I search it for you. It may take me a few moments {Willy Skjveland} I need to find out...
6
by: Bart Simpson | last post by:
I want to create a data repository in memory so that different processes can share the same data, rather than loading the data multiple times for each process and then having to contend with...
9
by: Peri | last post by:
Dear All, Is there a way in which 2 application can share a common memory location to access static data? Say for example I have a product master data that is available in a single place, and...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
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...
0
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
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
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,...
0
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...
0
jinu1996
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...
0
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...
0
tracyyun
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 using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.