Archived:Repeated WLAN connection causes memory allocation failure on Nokia E65 (Known Issue)
Repeatedly connecting and disconnecting to WLAN seems to produce an out-of-memory condition in Nokia E65 (and possibly other S60 3rd Edition devices).
Article Metadata
Tested with
Compatibility
Article
Description
If you repeatedly try to establish and disconnect a WLAN connection, the socket server returns error -4 (KErrNoMemory) if there is any attempt to create a further connection through the socket server.
This condition can be created by repeating the following actions approximately 450 times:
- establishing a connection (RSocketServ::Connect(), RConnection::Open(), RConnection::Start()) and then
- closing that connection (RConnection::Close(), RSocketServ::Close())
The condition appears after approximately one hour of continuously creating and recreating the connection.
After the error occurs, trying to establish a connection using the Web application also results in error -4.
Solution
No solution available for Nokia E65.
This problem can no longer be reproduced on Nokia N95 8GB sw version 30.0.018.


A similar problem may also exist with the Connection Server when using Bluetooth: we have a reproducible case (seen on the Nokia 9500, and possibly other devices) where after about 45 minutes of unsuccessful connection attempts to a BT serial port device (ca. 12 connection attempts/minute) a KErrNoMemory is returned by the Socket Server.
This happens also with other access points, not only with WLAN.