Hello Jacob.

Here am using lttoolbox 3.2 version. Let me know the current version of
lttoolbox-java jar file.

 Thanks & Regards

M. Karunakar
University of Hyderabad,Hyd,
9491388035.


On Tue, Mar 19, 2013 at 4:33 AM, Jacob Nordfalk <jacob.nordf...@gmail.com>wrote:

>
>
> 2013/3/18 Jimmy O'Regan <jore...@gmail.com>
>
>> On 18 March 2013 10:19, karunakar medamoni <kannaiah.chi...@gmail.com>
>> wrote:
>> > Let me explain what actually am doing.Am trying to get morph
>> information of
>> > a word from bin file it size around 17MB. Initially  i did integration
>> > apertium code with my code and its runs fine in eclipse. While coming to
>> > android am getting out of memory error. Please find the logcat of my
>> android
>> > applications.  I was posted in android forums also about this error.
>> Later i
>> > think  apertium also released apertium translator for android. This is
>> > reason i have posted my query apertium.
>>
>> I think memory issues like this are part of what prompted Jacob to
>> work on memory mapping the transducers. Try using the latest SVN
>> version of lttoolbox-java and see if you still have the same issue.
>>
>
> I can confirm that.
> I can see from the stack traces that you are using an old version
> which does probably not have memory mapping.
>
> I did some cool enhancements WRT memory in december, which I proudly
> described here:
> https://sourceforge.net/mailarchive/message.php?msg_id=30266147
>
>
> You will have to download a fresh version of lttoolbox-java and use it as
> in the model Android app:
>
>
> http://apertium.svn.sourceforge.net/viewvc/apertium/trunk/apertium-mobile/apertium-android/
>
> Also have a look on the recommended places to store stuff (
>
> http://apertium.svn.sourceforge.net/viewvc/apertium/trunk/apertium-mobile/apertium-android/src/org/apertium/android/App.java?revision=42215&view=markup),
> and I'd recommend that you use the ApertiumInstallation utility class
> included in the demo app.
>
>
>  69 File packagesDir = new File(getFilesDir(), "packages"); // where
> packages' data are installed 70 File bytecodeDir = new File(getFilesDir(),
> "bytecode"); // where packages' bytecode are installed. Must be private 71
> File bytecodeCacheDir = new File(getCacheDir(), "bytecodecache"); //
> where bytecode cache is kept. Must be private 72 IOUtils.cacheDir = new
> File(getCacheDir(), "apertium-index-cache"); // where cached
> transducerindexes are kept 73 apertiumInstallation = new
> ApertiumInstallation(packagesDir, bytecodeDir, bytecodeCacheDir); 74
> apertiumInstallation.rescanForPackages();
>
>
> Yours,
> Jacob
>
> --
> Jacob Nordfalk <http://profiles.google.com/jacob.nordfalk>
> javabog.dk
> Androidudvikler og -underviser på 
> DTU<http://cv.ihk.dk/diplomuddannelser/itd/vf/MAU>og
> Lund&Bendsen<https://www.lundogbendsen.dk/undervisning/beskrivelse/LB1809/>
>
>
> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://p.sf.net/sfu/appdyn_d2d_mar
> _______________________________________________
> Apertium-stuff mailing list
> Apertium-stuff@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/apertium-stuff
>
>
------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_mar
_______________________________________________
Apertium-stuff mailing list
Apertium-stuff@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/apertium-stuff

Reply via email to