You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Below is the error I get when I try to run the recipe below (comes with the product) and tell it to grab GA data from 1-1-12 through 8-30-12. Everything else in the file is the same (aside from my GA login credentials).
Furthermore, once this is fixed, I'd love to be able to submit a dynamic date rather than a literal so that I could pull all data Year to Date or use any other supported date function. Thanks!
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\Ryan> cd c:\users\ryan\downloads
PS C:\users\ryan\downloads> cd ga2csv-download
PS C:\users\ryan\downloads\ga2csv-download> java -jar ga2csv-0.1.jar recipes\traffic-and-sales-growth-over-time.xml out
put\new-query-output2.csv
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at com.google.gdata.util.XmlParser$ElementHandler.initializeXmlBlob(XmlParser.java:377)
at com.google.gdata.data.ExtensionPoint.initializeArbitraryXml(ExtensionPoint.java:523)
at com.google.gdata.data.ExtensionPoint$ExtensionHandler.(ExtensionPoint.java:729)
at com.google.gdata.data.ExtensionPoint.getHandler(ExtensionPoint.java:450)
at com.google.gdata.data.ExtensionPoint.getExtensionHandler(ExtensionPoint.java:632)
at com.google.gdata.data.ExtensionPoint$ExtensionHandler.getChildHandler(ExtensionPoint.java:740)
at com.google.gdata.data.BaseEntry$AtomHandler.getChildHandler(BaseEntry.java:1203)
at com.google.gdata.util.XmlParser$ElementHandler.getChildHandler(XmlParser.java:240)
at com.google.gdata.util.XmlParser.startElement(XmlParser.java:816)
at org.xml.sax.helpers.ParserAdapter.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Sou
rce)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.xml.sax.helpers.ParserAdapter.parse(Unknown Source)
at com.google.gdata.util.XmlParser.parse(XmlParser.java:685)
at com.google.gdata.util.XmlParser.parse(XmlParser.java:576)
at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867)
at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:68)
at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:39)
at com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:100)
at com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:52)
at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:66)
at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:34)
PS C:\users\ryan\downloads\ga2csv-download>
The text was updated successfully, but these errors were encountered:
Hi, try to set max heap size(-XmxSIZE) as well as max parameter size(-XX:MaxPermSize=SIZE) depending on your RAM size and remove garbage collection limit.
eg.:- java -Xmx4096m -XX:MaxPermSize=2048m -XX:-UseGCOverheadLimit -jar ga2csv.jar recipes\abc.xml output\abc.csv
Below is the error I get when I try to run the recipe below (comes with the product) and tell it to grab GA data from 1-1-12 through 8-30-12. Everything else in the file is the same (aside from my GA login credentials).
Furthermore, once this is fixed, I'd love to be able to submit a dynamic date rather than a literal so that I could pull all data Year to Date or use any other supported date function. Thanks!
Windows PowerShell
Copyright (C) 2009 Microsoft Corporation. All rights reserved.
PS C:\Users\Ryan> cd c:\users\ryan\downloads
PS C:\users\ryan\downloads> cd ga2csv-download
PS C:\users\ryan\downloads\ga2csv-download> java -jar ga2csv-0.1.jar recipes\traffic-and-sales-growth-over-time.xml out
put\new-query-output2.csv
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at com.google.gdata.util.XmlParser$ElementHandler.initializeXmlBlob(XmlParser.java:377)
at com.google.gdata.data.ExtensionPoint.initializeArbitraryXml(ExtensionPoint.java:523)
at com.google.gdata.data.ExtensionPoint$ExtensionHandler.(ExtensionPoint.java:729)
at com.google.gdata.data.ExtensionPoint.getHandler(ExtensionPoint.java:450)
at com.google.gdata.data.ExtensionPoint.getExtensionHandler(ExtensionPoint.java:632)
at com.google.gdata.data.ExtensionPoint$ExtensionHandler.getChildHandler(ExtensionPoint.java:740)
at com.google.gdata.data.BaseEntry$AtomHandler.getChildHandler(BaseEntry.java:1203)
at com.google.gdata.util.XmlParser$ElementHandler.getChildHandler(XmlParser.java:240)
at com.google.gdata.util.XmlParser.startElement(XmlParser.java:816)
at org.xml.sax.helpers.ParserAdapter.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.startElement(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl$FragmentContentDriver.next(Unknown Sou
rce)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLNSDocumentScannerImpl.next(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
at org.xml.sax.helpers.ParserAdapter.parse(Unknown Source)
at com.google.gdata.util.XmlParser.parse(XmlParser.java:685)
at com.google.gdata.util.XmlParser.parse(XmlParser.java:576)
at com.google.gdata.data.BaseFeed.parseAtom(BaseFeed.java:867)
at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:68)
at com.google.gdata.wireformats.input.AtomDataParser.parse(AtomDataParser.java:39)
at com.google.gdata.wireformats.input.CharacterParser.parse(CharacterParser.java:100)
at com.google.gdata.wireformats.input.XmlInputParser.parse(XmlInputParser.java:52)
at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:66)
at com.google.gdata.wireformats.input.AtomDualParser.parse(AtomDualParser.java:34)
PS C:\users\ryan\downloads\ga2csv-download>
The text was updated successfully, but these errors were encountered: