Hi Richard

Good Morning. As per your mail am attaching my android log file. Please
have look at once. I ran the same program from command line and also in
eclipse. I got the output , when i try to integrate with android am getting
this error.

 Thanks & Regards

M. Karunakar
University of Hyderabad,Hyd,
9491388035.


On Wed, Mar 13, 2013 at 10:43 PM, karunakar medamoni <
[email protected]> wrote:

> Hello Richard
>
> Thank u for u reply. I will be back  with full stack from LogCat by
> tomorrow morning.
>
>  Thanks & Regards
>
> M. Karunakar
> University of Hyderabad,Hyd,
> 9491388035.
>
>
> On Wed, Mar 13, 2013 at 6:11 PM, RichardC 
> <[email protected]>wrote:
>
>> Can you include the full stack trace from LogCat please.
>>
>>
>> On Wednesday, March 13, 2013 11:37:16 AM UTC, karunakar medamoni wrote:
>>>
>>> Hello
>>>
>>> Every one. This is karunakar working on android project. Am converting
>>> apertium based webpage to android app. When i try to run
>>> com.apertium.lttoolbox.LTPorc class with two arguments filename.bin file
>>> and input file am getting this error. If any help from any one it would be
>>> helpful for me.
>>>
>>> Here am pasting my code please have a look at once.
>>>
>>> System.setOut(new PrintStream(new BufferedOutputStream(new
>>> FileOutputStream("/data/data/**com.samsaadhani.sandhi1/files/**
>>> output"))));
>>>                     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.


03-14 04:47:42.618: D/dalvikvm(360): GC_FOR_ALLOC freed 47K, 3% free 
6358K/6531K, paused 41ms
03-14 04:47:42.618: I/dalvikvm-heap(360): Grow heap (frag case) to 6.789MB for 
513744-byte allocation
03-14 04:47:42.707: D/dalvikvm(360): GC_FOR_ALLOC freed <1K, 3% free 
6859K/7047K, paused 55ms
03-14 04:47:42.807: D/dalvikvm(360): GC_CONCURRENT freed <1K, 3% free 
6859K/7047K, paused 4ms+2ms
03-14 04:47:43.378: D/szipinf(360): Initializing inflate state
03-14 04:47:43.378: D/szipinf(360): Initializing zlib to inflate
03-14 04:47:51.408: V/TLINE(360): new: android.text.TextLine@4062c768
03-14 04:47:54.797: V/TLINE(360): new: android.text.TextLine@406f4e40
03-14 04:48:04.887: D/dalvikvm(360): GC_CONCURRENT freed 347K, 6% free 
7055K/7495K, paused 4ms+3ms
03-14 04:48:05.168: D/dalvikvm(360): GC_CONCURRENT freed 508K, 8% free 
7080K/7687K, paused 4ms+4ms
03-14 04:48:05.298: D/dalvikvm(360): GC_FOR_ALLOC freed 225K, 8% free 
7105K/7687K, paused 46ms
03-14 04:48:05.558: D/dalvikvm(360): GC_CONCURRENT freed 467K, 8% free 
7191K/7751K, paused 7ms+6ms
03-14 04:48:05.757: D/dalvikvm(360): GC_CONCURRENT freed 496K, 8% free 
7216K/7815K, paused 8ms+3ms
03-14 04:48:05.988: D/dalvikvm(360): GC_CONCURRENT freed 408K, 7% free 
7339K/7879K, paused 4ms+5ms
03-14 04:48:06.258: D/dalvikvm(360): GC_CONCURRENT freed 150K, 4% free 
7764K/8007K, paused 5ms+6ms
03-14 04:48:06.528: D/dalvikvm(360): GC_CONCURRENT freed 136K, 3% free 
8163K/8391K, paused 9ms+7ms
03-14 04:48:06.847: D/dalvikvm(360): GC_CONCURRENT freed 200K, 4% free 
8674K/8967K, paused 4ms+10ms
03-14 04:48:07.208: D/dalvikvm(360): GC_CONCURRENT freed 179K, 4% free 
9230K/9543K, paused 3ms+9ms
03-14 04:48:07.617: D/dalvikvm(360): GC_CONCURRENT freed 334K, 5% free 
9948K/10375K, paused 10ms+13ms
03-14 04:48:07.757: D/dalvikvm(360): GC_FOR_ALLOC freed 7K, 4% free 
9991K/10375K, paused 114ms
03-14 04:48:07.757: I/dalvikvm-heap(360): Forcing collection of SoftReferences 
for 6106300-byte allocation
03-14 04:48:07.907: D/dalvikvm(360): GC_BEFORE_OOM freed 11K, 4% free 
9980K/10375K, paused 153ms
03-14 04:48:07.907: E/dalvikvm-heap(360): Out of memory on a 6106300-byte 
allocation.
03-14 04:48:07.917: I/dalvikvm(360): "main" prio=5 tid=1 RUNNABLE
03-14 04:48:07.917: I/dalvikvm(360):   | group="main" sCount=0 dsCount=0 
obj=0x4001e6b0 self=0x115b8
03-14 04:48:07.917: I/dalvikvm(360):   | sysTid=360 nice=0 sched=0/0 
cgrp=default handle=-1342909328
03-14 04:48:07.917: I/dalvikvm(360):   | schedstat=( 11326621181 2865067409 897 
) utm=676 stm=456 core=0
03-14 04:48:07.917: I/dalvikvm(360):   at 
org.apertium.lttoolbox.process.TransExe.read(TransExe.java:~70)
03-14 04:48:07.917: I/dalvikvm(360):   at 
org.apertium.lttoolbox.process.FSTProcessor.load(FSTProcessor.java:617)
03-14 04:48:07.917: I/dalvikvm(360):   at 
org.apertium.lttoolbox.LTProc.main(LTProc.java:192)
03-14 04:48:07.917: I/dalvikvm(360):   at 
com.samsaadhani.sandhi1.Morph$1.onClick(Morph.java:60)
03-14 04:48:07.917: I/dalvikvm(360):   at 
android.view.View.performClick(View.java:3100)
03-14 04:48:07.917: I/dalvikvm(360):   at 
android.view.View$PerformClick.run(View.java:11644)
03-14 04:48:07.917: I/dalvikvm(360):   at 
android.os.Handler.handleCallback(Handler.java:587)
03-14 04:48:07.917: I/dalvikvm(360):   at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-14 04:48:07.917: I/dalvikvm(360):   at 
android.os.Looper.loop(Looper.java:126)
03-14 04:48:07.917: I/dalvikvm(360):   at 
android.app.ActivityThread.main(ActivityThread.java:3997)
03-14 04:48:07.927: I/dalvikvm(360):   at 
java.lang.reflect.Method.invokeNative(Native Method)
03-14 04:48:07.927: I/dalvikvm(360):   at 
java.lang.reflect.Method.invoke(Method.java:491)
03-14 04:48:07.927: I/dalvikvm(360):   at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
03-14 04:48:07.927: I/dalvikvm(360):   at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
03-14 04:48:07.927: I/dalvikvm(360):   at dalvik.system.NativeStart.main(Native 
Method)
03-14 04:48:07.927: D/AndroidRuntime(360): Shutting down VM
03-14 04:48:07.927: W/dalvikvm(360): threadid=1: thread exiting with uncaught 
exception (group=0x40014760)
03-14 04:48:07.938: E/AndroidRuntime(360): FATAL EXCEPTION: main
03-14 04:48:07.938: E/AndroidRuntime(360): java.lang.OutOfMemoryError
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
org.apertium.lttoolbox.process.TransExe.read(TransExe.java:70)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
org.apertium.lttoolbox.process.FSTProcessor.load(FSTProcessor.java:617)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
org.apertium.lttoolbox.LTProc.main(LTProc.java:192)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
com.samsaadhani.sandhi1.Morph$1.onClick(Morph.java:60)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
android.view.View.performClick(View.java:3100)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
android.view.View$PerformClick.run(View.java:11644)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
android.os.Handler.handleCallback(Handler.java:587)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
android.os.Handler.dispatchMessage(Handler.java:92)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
android.os.Looper.loop(Looper.java:126)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
android.app.ActivityThread.main(ActivityThread.java:3997)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
java.lang.reflect.Method.invokeNative(Native Method)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
java.lang.reflect.Method.invoke(Method.java:491)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:841)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
com.android.internal.os.ZygoteInit.main(ZygoteInit.java:599)
03-14 04:48:07.938: E/AndroidRuntime(360):      at 
dalvik.system.NativeStart.main(Native Method)
03-14 04:48:10.458: I/Process(360): Sending signal. PID: 360 SIG: 9

Reply via email to