Increase INDATA memory limit more than 32KB for JAVA Client

Post here all your questions related with SmartFoxServer Java API

Moderators: Lapo, Bax

GrinReaper
Posts: 43
Joined: 06 Aug 2012, 09:48

Increase INDATA memory limit more than 32KB for JAVA Client

Postby GrinReaper » 15 Nov 2013, 08:19

Hi Everyone,

As discussed in following forum, Maximum IN Take memory limit for JAVA Client API in 32 KB
viewtopic.php?p=34865#34865

but i need to increase this size to get room list from server, so i use following code,
java -jar myEng.jar -Dsfs.client.inDataMaxSize=640000 -Dsfs.client.outDataMaxSize=640000

But its not working because room list is too long.

Please help me..
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Increase INDATA memory limit more than 32KB for JAVA Cli

Postby rjgtav » 16 Nov 2013, 02:23

Hi,
What Client API version are you using?
Can you try increasing that value even further? Maybe your room list is really long..

Cheers
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.
GrinReaper
Posts: 43
Joined: 06 Aug 2012, 09:48

Re: Increase INDATA memory limit more than 32KB for JAVA Cli

Postby GrinReaper » 18 Nov 2013, 11:02

We are using Version: 1.5.8 of JAVA Client API.
and i tried increasing value upto 64MB but not working..
User avatar
rjgtav
Posts: 2813
Joined: 19 Apr 2009, 11:31
Location: Lisbon, Portugal

Re: Increase INDATA memory limit more than 32KB for JAVA Cli

Postby rjgtav » 20 Nov 2013, 00:20

Let's talk only on the other topic, as Lapo is already there also helping ;)
Skills: SFS Pro, SFS2X, AS2.0/AS3.0, Java, HTML5/CSS3/JS, C#
Portfolio: https://rjgtav.wordpress.com/
SFS Tutorials: http://sfs-tutor.blogspot.com/ - Discontinued. Some examples may be bugged.

Return to “Java2SE / Android Client API”

Who is online

Users browsing this forum: No registered users and 1 guest