Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Java Out Of Heap space #105

Open
cyberluke opened this issue Feb 24, 2017 · 0 comments
Open

Java Out Of Heap space #105

cyberluke opened this issue Feb 24, 2017 · 0 comments

Comments

@cyberluke
Copy link

My project worked fine until I add these lines:

public static interface RequestMapper extends ObjectMapper<JSONDSRequest> {}

`RequestMapper mapper = GWT.create( RequestMapper.class );

	JSONDSRequest r = new JSONDSRequest();
	r.records = request.getExportData();

    String json = mapper.write( r );       
    
    
    GWT.log( json ); // > {"firstName":"John","lastName":"Doe"}`

`import com.smartgwt.client.data.Record;

public class JSONDSRequest {
public Record[] records;
}
`

Also it writes a lot of warnings and compilation is very slow now. Of course I have increased the memory.

Compiler arguments:
-draftCompile

VM arguments:
-Xms2048m -Xmx4096m -XX:+UseConcMarkSweepGC

*Win10 64-bit,Eclipse,Java8,SmartGWT,RestyGWT,GWT 2.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant