users@glassfish.java.net

[gf-users] Re: GF4, 502 Bad Gateway, OutOfMemoryError: Direct buffer memory

From: <forums_at_java.net>
Date: Wed, 23 Jul 2014 14:52:27 -0500 (CDT)

Hi, as I understand you changed the ByteBuffer type in Glassfish to direct,
right? Is there any reason, did you notice any perf improvement comparing to
heap ByteBuffers? You can fix the problem by changing the ByteBuffer type
back to "heap" (which is default), or you can reduce the TCP socket receive
buffer size [1]. Thanks. WBR, Alexey. [1] %asadmin set
configs.config.server-config.network-config.transports.transport.tcp.socket-read-buffer-size=4096

--
[Message sent by forum member 'oleksiys']
View Post: http://forums.java.net/node/904048