IMPORTANT:
this is not a Support Forum! Experienced users might answer from time to time questions posted here. If you need a professional and reliable answer, or if you want to report a bug, please contact Altova Support instead.

Profile: chris928
About
User Name: chris928
Forum Rank: Newbie
Real Name:
Location Australia
Occupation:
Interests:
Gender: None Specified
Statistics
Joined: Thursday, November 19, 2009
Last Visit: Wednesday, April 13, 2011 9:46:48 PM
Number of Posts: 8
[0.04% of all post / 0.00 posts per day]
Avatar
Last 10 Posts
Topic: [Mapforce2010] Using Mapforce with huge db
Posted: Tuesday, November 24, 2009 10:59:41 PM
It is not huge, really. I am mapping XML to Access db with over 1 million record tables. The problem is not in your RAM size but Java VM memory allocation. I tried increasing Java VM memory according to the documentation, but it didn't help, though my RAM is 8GB. The only way is to split large XML files into small ones. MapForce can handle XMLs up to 70-80MB quite well. With my experience the troubles start after 100MB.
Topic: How to create multiple input XMLs
Posted: Tuesday, November 24, 2009 10:49:15 PM
Vlad,

I tried this and it works on small files, but in my case I am getting "memory full" exceptions. Is there a way of doing it the following way with MapForce automatically:

1) take 1st file, generate mapping and SQL queries and execute SQL
2) take the 2nd file etc etc

If I use myXMLs-*.xml, it tries loading all the XML files one-by-one and I am getting into the memory troubles because all XMLs are over 300-400MB together.

I can do it manually, but am still trying to automate it somehow.

Thanks

Chris
Topic: How to create multiple input XMLs
Posted: Tuesday, November 24, 2009 3:44:30 AM
Hi All,

I have several XML files (the identical structure) that need to be mapped into a single database. What is a right way of doing this?

Let's say i have myXML-1.xml, myXML-2.xml etc.

I guess I can define input XMLs like myXMLs-*.xml. Correct? What happens with the output query? Will it be generated and executed at once for all files or one-by-one? Every single XML file creates about 500,000 queries, therefore I cannot do it at once because of memory problems.

Please, advise.

Thanks,

Chris
Topic: "character #xDBC0 is grammatically unexpected"
Posted: Tuesday, November 24, 2009 3:34:13 AM
Finally, I have resolved it by splitting into several XML files. I have been using firstobject editor with a custom foal code. I tried splitting files up to 500MB; works great
Topic: "character #xDBC0 is grammatically unexpected"
Posted: Saturday, November 21, 2009 6:06:30 AM
Can I split large XML files with some Altova applications?
Topic: "character #xDBC0 is grammatically unexpected"
Posted: Friday, November 20, 2009 8:50:44 PM
Thank you for replying. it looks as the problem is because of the XML size.

Every time when I try large XML files with mapForce, it shoes the same error "character #xDBC0..."

Are there any tricks how to work with large files 200MB and more?

Thanks
Topic: How to delete table content before mapping
Posted: Friday, November 20, 2009 12:28:48 AM
Hi All,

A dumb question - how can I delete the content from a table before executing Insert action? I need to generate new content all the time and cannot figure out the settings for this.

Please, advise.

Thanks
Topic: "character #xDBC0 is grammatically unexpected"
Posted: Thursday, November 19, 2009 11:05:37 PM
Hi All,

when I click the "Output" tab after mapping XML to Access mdb, I am getting an error:

Failed to load XML file..... (Message "character #xDBC0 is grammatically unexpected")

How can I fix this? What is the "wrong" symbol in the XML I should be looking for?

Thanks!

Chris

Use of the Altova User Forum(s) is governed by the Altova Terms of Use.