Skip to content

Out of Memory Error #1

@GoogleCodeExporter

Description

@GoogleCodeExporter
What steps will reproduce the problem?
1. run iTunesexport-scala on a largish iTunes Library with a number of
playlists with 100 or more items

What is the expected output? What do you see instead?
Expect output of M3U files.  Instead get the following error:
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
    at scala.collection.immutable.Stack.$plus(Stack.scala:51)
    at
scala.collection.immutable.Stack$$anonfun$$plus$plus$1.apply(Stack.scala:99)
    at
scala.collection.immutable.Stack$$anonfun$$plus$plus$1.apply(Stack.scala:99)
    at scala.Iterator$class.foldLeft(Iterator.scala:520)
    at scala.runtime.BoxedArray$AnyIterator.foldLeft(BoxedArray.scala:45)
    at scala.collection.immutable.Stack.$plus$plus(Stack.scala:99)
    at scala.collection.immutable.Stack.$plus$plus(Stack.scala:109)
    at scala.collection.mutable.Stack.$plus$plus$eq(Stack.scala:49)
    at scala.collection.mutable.Stack.push(Stack.scala:64)
    at scala.xml.parsing.FactoryAdapter.captureText(FactoryAdapter.scala:169)
    at scala.xml.parsing.FactoryAdapter.endElement(FactoryAdapter.scala:182)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.endElement(Abstract
SAXParser.java:633)
    at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endNamespaceScope(XM
LDTDValidator.java:2108)
    at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.handleEndElement(XML
DTDValidator.java:2059)
    at
com.sun.org.apache.xerces.internal.impl.dtd.XMLDTDValidator.endElement(XMLDTDVal
idator.java:932)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanEndEl
ement(XMLDocumentFragmentScannerImpl.java:1241)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentC
ontentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1685)
    at
com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocum
ent(XMLDocumentFragmentScannerImpl.java:368)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configu
ration.java:834)
    at
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configu
ration.java:764)
    at
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:148)
    at
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXPa
rser.java:1242)
    at javax.xml.parsers.SAXParser.parse(SAXParser.java:375)
    at scala.xml.parsing.FactoryAdapter.loadXML(FactoryAdapter.scala:292)
    at
scala.xml.parsing.NoBindingFactoryAdapter.loadXML(NoBindingFactoryAdapter.scala:
60)
    at scala.xml.XML$.load(XML.scala:68)
    at scala.xml.XML$.loadString(XML.scala:84)
    at
com.ericdaugherty.itunesexport.parser.Library$.parsePListXML(Library.scala:22)
    at com.ericdaugherty.itunesexport.parser.Library.<init>(Library.scala:35)
    at
com.ericdaugherty.itunesexport.console.ConsoleExport$.main(ConsoleExport.scala:3
9)
    at
com.ericdaugherty.itunesexport.console.ConsoleExport.main(ConsoleExport.scala)


What version of the product are you using? On what operating system?
0.2 on OSX 10.5.8.

Please provide any additional information below.


Original issue reported on code.google.com by kyle.eric.johnson on 8 Sep 2009 at 11:34

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions