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

Activity

Show:
Kimyen Truong
April 17, 2018, 12:50 AM

Hi , I discuss briefly with about this problem. To prioritize this issue, could you let us know if this problem blocks your work?

Kara Woo
April 17, 2018, 2:17 AM

I was able to create all the links with the Python client instead, so it's not blocking me.

Kimyen Truong
May 16, 2018, 12:01 AM

Bruce's fix for will resolve this problem.

Kara Woo
August 22, 2018, 4:33 PM

Validated by running the same code example I reported (just storing in a different parent), all the links appeared, thanks!

Assignee

Kimyen Truong

Reporter

Kara Woo

Labels

None

Validator

Kara Woo

Development Area

None

Release Version History

None

Fix versions

Affects versions

Priority

Major
Configure