We've been chasing a possible memory leak for a while, but memory profiling doesn't seem to indicate an actual leak. Instead, the amount of unused memory allocated to .NET keeps growing, apparently without bounds.
For comparison, I profiled the Photon Mmo sample, and noticed some unexpected behavior. When I watch the private bytes counter in the ANTS memory profiler, it grows slowly until it gets to about 105 MB, and then shrinks back down to about 84 MB. However, very few, if any, managed objects are getting allocated, so I wouldn't expect the .NET runtime to allocate more system memory for it's managed heaps.
Any idea what might be causing this behavior in the sample?
For comparison, I profiled the Photon Mmo sample, and noticed some unexpected behavior. When I watch the private bytes counter in the ANTS memory profiler, it grows slowly until it gets to about 105 MB, and then shrinks back down to about 84 MB. However, very few, if any, managed objects are getting allocated, so I wouldn't expect the .NET runtime to allocate more system memory for it's managed heaps.
Any idea what might be causing this behavior in the sample?