java.io.UTFDataFormatException - encoded string too long: 477616 bytes
11 views
Skip to first unread message
Gareth Murfin
unread,
Mar 3, 2018, 10:08:44 PM3/3/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
Preferences.set(key, value); seems to have a limit on size, anyway to get around that or do I just use a different way to store?
Shai Almog
unread,
Mar 4, 2018, 12:30:55 AM3/4/18
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to CodenameOne Discussions
If you reached that limit you shouldn't use preferences. Performance would grind to a halt! Preferences is designed for small values, cached user names, auth keys etc. Anything bigger should go into a file.