Can't create more than ~50 links at a time

Description

When trying to create links to several hundred files on synapse, I find that I cannot create more than 57-58 at a time. I try to iterate over a vector of synIDs like so (these projects are private; let me know if you want me to set up a new Synapse project for testing):

This successfully creates 57 links (using staging-RAN versions of synapser/PythonEmbedInR) or 58 links (using RAN versions). After those links, the process seems to hang; I'm not returned to prompt in the console, but links cease to be created.

If I then manually interrupt the process and try to use other synapser functions, e.g. synGet(), synGetChildren() etc., I get the following error:

Right now my only workaround is to split up the vector of synIDs into chunks and create links for 50 at a time, manually restarting my R session in between each chunk. I have close to 700 files I'm trying to link, so it would be really great if there was another solution.

Environment

None

Status

Assignee

Kimyen Truong

Reporter

Kara Woo

Labels

None

Validator

Kara Woo

Release Version History

None

Fix versions

Affects versions

Priority

Major
Configure