[RQM] Download the specified number of work items

Hi,
I use RQMObjectManager class to download list of work items. Unfortunately I got OutOfMemoryException when I try to download big amount of data. There is a way to specify a number of work items I want to download? I guess there should be search criteria for that, right?
Here's my code for downloading:
RQMRESTServer restServer = new RQMRESTServer();
restServer.connect(rqmServer, username, password);
RQMObjectManager manager = new RQMObjectManager(restServer);
return manager.search(rqmObjectClass, "");
This can be helpful https://jazz.net/wiki/bin/view/Main/RqmApi#fields
Any ideas?
I use RQMObjectManager class to download list of work items. Unfortunately I got OutOfMemoryException when I try to download big amount of data. There is a way to specify a number of work items I want to download? I guess there should be search criteria for that, right?
Here's my code for downloading:
RQMRESTServer restServer = new RQMRESTServer();
restServer.connect(rqmServer, username, password);
RQMObjectManager manager = new RQMObjectManager(restServer);
return manager.search(rqmObjectClass, "");
This can be helpful https://jazz.net/wiki/bin/view/Main/RqmApi#fields
Any ideas?
One answer

Hi Gabriel,
These classes (RQMObjectManager and RQMRESTServe) are not RQM classes. You would have to provide more details to diagnose the problem. If they are using the RQM Reportable REST API, fields filter will assist. However, I would assume you are using the RTC Reportable REST API if you are downloading work items.
These classes (RQMObjectManager and RQMRESTServe) are not RQM classes. You would have to provide more details to diagnose the problem. If they are using the RQM Reportable REST API, fields filter will assist. However, I would assume you are using the RTC Reportable REST API if you are downloading work items.