Adam Wegscheid
01/06/2025, 8:29 PMget_batches()
method (https://github.com/meltano/sdk/blob/main/singer_sdk/streams/core.py#L1431) which is the point in which execution hangs. A second "record_count" metric is sent for what would be the second batch but nothing comes of it.
After 30 minutes of waiting, if I try and manually kill the process, a python process taking about 20GB of RAM remains which I also have to kill manually. This does not happen with any other load. Any ideas on what might be causing this?
The system has more than enough resources to handle the load (usually only taking about 20% of CPU and 30% of memory), so I do not suspect that is the issue. I receive the same results when running from a Windows 11 machine, a Windows 2022 Server VM, and an Ubunutu 22.04 VMvisch
01/07/2025, 1:20 PMmeltano invoke tap-oracle > out
does that hang? If not
meltano invoke target-redshit < out
does that hang? If so where? Is it one record? Can you isolate it, etcvisch
01/07/2025, 1:20 PMAdam Wegscheid
01/07/2025, 2:24 PMmeltano invoke tap-oracle > out
hung in exactly the same spot. After killing the process (waited about 20 minutes to see if it would finish), I ran meltano invoke target-redshift < out
and it completed successfully for the one batch file that did get written.Adam Wegscheid
01/07/2025, 2:28 PMAdam Wegscheid
01/07/2025, 3:15 PMEdgar RamÃrez (Arch.dev)
01/07/2025, 3:32 PMCould be nothing but I don't see that being the case for other loads.Do the other loads use different connectors or do they not use batch?
Adam Wegscheid
01/07/2025, 3:33 PMAdam Wegscheid
01/07/2025, 8:29 PMAdam Wegscheid
01/07/2025, 11:47 PMAdam Wegscheid
01/07/2025, 11:58 PMlazy_chunked_generator()
does not occur for another 128s. I cannot figure out what is happening in that gap.visch
01/08/2025, 1:10 PMvisch
01/08/2025, 1:10 PMvisch
01/08/2025, 1:11 PMvisch
01/08/2025, 1:12 PMAdam Wegscheid
01/08/2025, 1:48 PMget_sqlalchemy_url
and create_engine
for the SqlConnector. (I queried the data directly and it returned fine. Even exported the table as a whole from SQL Oracle Developer and DataGrip.)Adam Wegscheid
01/08/2025, 1:50 PMAdam Wegscheid
01/08/2025, 1:53 PM