Throwing a line of code isn't going to stop your library from
attempting to buffer a huge file...

Kris

On Thu, Mar 14, 2013 at 1:59 AM, karunakar medamoni
<[email protected]> wrote:
> Thanks for ur Suggestion.
>
>  Ooops. I tried it now still same error java.lang.outofMemoryError.
>
>  Thanks & Regards
>
> M. Karunakar
> University of Hyderabad,Hyd,
> 9491388035.
>
>
> On Thu, Mar 14, 2013 at 11:15 AM, Harish <[email protected]> wrote:
>>
>> Hi
>>
>> Try this code if it helps
>>
>> System.setOut(new PrintStream(new BufferedOutputStream(new
>> FileOutputStream("/data/data/com.samsaadhani.sandhi1/files/output"),1024)));
>>
>>                     FileOutputStream fis = openFileOutput("input",
>> Context.MODE_PRIVATE);
>>                     fis.write(input.getText().toString().getBytes());
>>                     fis.write("\n".getBytes());
>>                     fis.close();
>>                     LTProc.main(new
>> String[]{"/data/data/com.samsaadhani.sandhi1/files/skt_morf.bin","/data/data/com.samsaadhani.sandhi1/files/input"});
>>
>> --
>> --
>> You received this message because you are subscribed to the Google
>> Groups "Android Developers" group.
>> To post to this group, send email to [email protected]
>> To unsubscribe from this group, send email to
>> [email protected]
>> For more options, visit this group at
>> http://groups.google.com/group/android-developers?hl=en
>> ---
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Android Developers" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/android-developers/feA_XKu8N1o/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, send an email to
>> [email protected].
>>
>> For more options, visit https://groups.google.com/groups/opt_out.
>>
>>
>
>
> --
> --
> You received this message because you are subscribed to the Google
> Groups "Android Developers" group.
> To post to this group, send email to [email protected]
> To unsubscribe from this group, send email to
> [email protected]
> For more options, visit this group at
> http://groups.google.com/group/android-developers?hl=en
> ---
> You received this message because you are subscribed to the Google Groups
> "Android Developers" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/groups/opt_out.
>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to