Silverlight Client Sockets Memory issue
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Pipelight |
New
|
Undecided
|
Unassigned |
Bug Description
Hi There,
We're trying to create a Linux version of an existing piece of Software that was created in Silverlight. The Software consists of two parts, a service (Console App) which runs all the calculations and a client (Silverlight) which communicates with the service via a socket. We've managed to build and run the service in mono and that seems to work fine. We've also managed to run the Client using Pipelight and the two applications communicate with each other as expected in Firefox.
However, we've been monitoring the CPU and Memory usage of all the processes running on the machine and have noticed that the memory usage of both the pluginloader and the wineserver is steadily increasing. After a couple weeks of investigating we have narrowed the problem down to the use of Client Sockets. (We've created a simple server/client application in which the server sends the current time to the client every second and we still see the problem).
We don't see any memory increase when we just run the service. And we don't see a memory increase in the client when we run it on a windows machine, even when we are connected into the Linux service. We've also tried running it in chromium, and we see the same memory increase in the WineServer.
We also notice that the client regularly loses communication with the service. Although I suspect this is caused by the amount of data we send as we don't see it with the simple application.
We are using the LXDE version of Linux.
I'm pretty new to Linux (The last few week have been my first introduction to this world). So please forgive me if I'm missing something obvious. I can supply the source code of our simple application if necessary.
Chris.
Hi,
this sounds like you found a memory leak in one of the dlls provided by Wine. The easiest way to narrow this down would be to analyze Wine when running your test application. I would therefore suggest that you either attach the source code + precompiled version (i.e. the xap file) at this bug report or send the files via email to <email address hidden>.
How big is the increase and do you see any relation to the amount of data send or how often you send data?
Michael