473,662 Members | 2,693 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 1254
Mkillian,

After the 60's there have not been much operatingsystem s (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 operatingsystem s (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******@osmos e.com.nospam"
<mk************ *********@discu ssions.microsof t.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 operatingsystem s (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...fo r 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******@osmos e.com.nospam"
<mk************ *********@discu ssions.microsof t.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 operatingsystem s (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
7410
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, which should be enough for my needs... but the out of memory errors continue. so, i tried to observe this in action. i ran top while my program was executing, and sorted by memory usage. as
6
3271
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, no memory is lying around. GC reports only 84k of allocations. Starting 5-10 of this apps is going to start taking a considerable amount of memory. Is there a way to reduce this? Tom
1
1944
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 across them. Is it best to share the project and its files to each solution (each solution has it's own shared project), or have each solution point to the same file location of the project?
16
2878
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, or other controls depending on the particular form. This application is setup with one MDI parent calling MDI children with the exception of one Modal form (the report viewer). When I run the application and run one of the screens that pulls...
13
1850
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 month (one db per customer), and this consume the memory. Some of these dbs are not highly active but once a db is activated, at least the bufferpools are allocated along with the init_pool of agents. Is there a way for bufferpools and agents be...
22
3467
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 application server, will each connection take the memory 800M (200000 x 4k = 800 M), so the memory took will be 800M times number of connections, or the total memory get from bufferpool will be 800M?
9
425
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 which application and which dll and asmx page that cause the problem. {Rheena} May I know what operating system you are using?
6
5847
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 synchronisation issues. Is there any library out there that will allow shared memory for inter-process communicating in .Net? Better still, is there a library that allows distributed shared memory in .Net ?
9
2889
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 I have an application that uses this data to do its own operation. I also have a similar kind of another application that uses the same data for its another operation. Can we implement this in C#?
0
8345
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8857
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
8633
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7368
agi2029
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5655
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4181
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4348
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
2
1999
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1754
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.