Results 1 to 5 of 5

Threaded View

  1. #1

    Unhappy DotNetAdapter LOH fragmentation and latent release of subscription strings on SOH

    Hello,

    In our environment we're experiencing both the fragmentation of the .NET LOH (Large Object Heap) and the rather slow release of subscription strings generated by the .NET Lightstreamer Adapter libraries. Memory profiling has indicated that instance(s) of the object Lightstreamer.DotNet.Server.RequestReply.NotifySen der executing Run()
    is holding onto Lightstreamer subscription strings presumably generated by the Lightstreamer adapter libraries. These subscription strings are observed in the format of: "1361213581995|UD3|S|VIS.USV.02....COMMAND|S|. ..." and are around 1K each.

    A screenshot from the profiler appears below. In this particular scenario, the aforementioned Lightstreamer object type was still referencing over 450MB in subscription string objects in the Generation 2 SOH. This occurred when we had 25 clients each establish a unique subscription for ~130,000 items 30 seconds apart from each other. (client1, client2 30 seconds later, ...) The Lightstreamer.DotNet.Server.RequestReply.NotifySen der object(s) were still referencing the subscription strings long after each client had received their snapshot request from the Lightstreamer server. We've also noticed that the NotifySender.Run() continues to reference ArrayList objects on the LOH. So it would appear that these large ArrayList objects are continually created in the LOH and fragmenting the LOH.

    Click image for larger version. 

Name:	LightstreamerGen2SOH1Schriever.png 
Views:	655 
Size:	21.8 KB 
ID:	130

    We've tried tuning the Data Adapter's app.config file by specifying different values for either gcServer enabled or gcConconcurrent enabled/disabled. These changes have not altered the rapid rise in Generation 2 SOH memory consumption.

    Please advise.

    Bill

    =====================================
    Environment Info:
    - Lightstreamer Server: Presto version 4.2
    - Lightstreamer DotNetAdapter_N2 DLL: v2.0.50727 / 1.7.4175.16355
    - OS: Windows 2008 R2 SP1 / .NET 4.0
    Last edited by bkretschmer; February 21st, 2013 at 12:36 AM. Reason: Additional screenshot.

 

 

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 01:32 PM.