machine learning - Dalvik format failed: Failed to convert dex. PermGen space- Android -
i need use classifier j48 in android. running heapspace problems. there way fix same? error states. dalvik format failed: failed convert dex. permgen space.
so have memory problem using j48 in weka on android. try diagnose in following order:
- how memory program consume? see here , here weka memory consumption.
- add more memory jvm (also in earlier links).
- try running on more affluent jvm - can run on desktop? or problem unrelated os resources?
- tune algorithm - build smaller tree or prune more heavily.
- prune dataset - remove unnecessary attributes.
- prune dataset - use fewer instances.
- use different algorithm.
- if else fails - implement decision tree using different library (scipy/orange/knime/rapid miner), or roll own.
Comments
Post a Comment