[jsword-devel] [JIRA] Commented: (JS-154) BufferedReader should use an explicit buffer size.

Martin Denham (JIRA) jira at crosswire.org
Mon Jan 3 02:54:20 MST 2011


    [ http://www.crosswire.org/bugs/browse/JS-154?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13760#action_13760 ] 

Martin Denham commented on JS-154:
----------------------------------

I wonder if we could leave them unset for now.  Then over the next few weeks I can go through and check each one and make a suggestion for an appropriate size.  I think that many could be set less than 8k and the warning messages will help me to know what has not been set yet.

I think this only affects Android because of it's limited available memory so probably nobody else is concerned.

> BufferedReader should use an explicit buffer size.
> --------------------------------------------------
>
>                 Key: JS-154
>                 URL: http://www.crosswire.org/bugs/browse/JS-154
>             Project: JSword
>          Issue Type: Sub-task
>    Affects Versions: 1.6
>         Environment: Android.
>            Reporter: DM Smith
>            Assignee: DM Smith
>             Fix For: 1.6.1
>
>
> When not specified, a BufferedReader uses an undefined buffer size. The javadoc claims that the size is appropriate for most uses. Android gives a warning message indicating that a specific size should be used.
> The default size in Sun's Java is 8192. Until we have better info, use this to quiet Android's vm.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://www.crosswire.org/bugs/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jsword-devel mailing list