[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Fwd: Help with COBOL grammar for sablecc]
Date: Sun, 11 Jun 2000 18:42:58 +0100
From: Dr X Liu <email@example.com>
Subject: Help with COBOL grammar for sablecc
I came cross a problem when I use SableCC to generate COBOL parser.
My COBOL grammar is quite big and already in SableCC format.
The problem is that every time I run "java SableCC cobol.grammar",
it terminated with message 'OutOfMemoryError' at the step" generating
I tried to use -mx and -ms option of java, but it doesn't work.
And my machine has 256M memory and virtual page size is set to
2048M. Sometimes the running time is more than 8 hours.
I don't know what is the problem. Help are urgently wanted! Please...
By the way, does anyone have COBOL grammar for SableCC? As I am not
about the correctness of my cobol grammar.
Dept. of Computer Science
Cardiff University, UK