Hi I have written a C# client/server application using the Zeroc Ice communication libary (v3.4.2).
I am transferring a sequence of objects from the server which are then displaying them in the client in a tabular format. Simple enough.
I defined following slice types
When I call this method it usually works fine, but occasionally (approx 25% of the time) the caller gets a Ice::MemoryLimitException. We are usually running 2-3 clients at a time.Code:enum DrawType { All, Instant, Raffle }; struct TicketSoldSummary { int scheduleId; DrawType dType; string drawName; long startDate; long endDate; string winningNumbers; int numTicket; string status; }; sequence<TicketSoldSummary> TicketSoldSummaryList; interface IReportManager { [..] TicketSoldSummaryList getTicketSoldSummary(long startTime, long endTime); };
I searched on the Internet for answers and I was told to increase Ice.MessageSizeMax, which I did in both the client and server. I have increased MessageSizeMax right up to 2,000,000 Kb, but it made no difference, I just did a test with 31,000 records (approximately 1.8 Megs of data) and still get Ice.MemoryLimitException. 1.8 Megs is not very big!
Am I doing something wrong or is there a bug in Zeroc Ice?
Thanks so much to anyone that can offer some help.

Reply With Quote
