About non sequence XML schema validate

Hi Experts,

Every time i run a xmlnode through the schema validate service, it throws an java heap space error, and the whole IS breakdown.

i have used xsd:all to defined the xml schema;
once i change it to xsd:sequence, the validate runs well.

is it cause by my definition of schema? or is there any solution for this.
Thanks in advance.