# Failed to sync AWS pricing table to PostgreSQL database

**URL:** <https://community.cloudquery.io/t/failed-to-sync-aws-pricing-table-to-postgresql-database/279>\
**Category:** CloudQuery Plugins\
**Created:** [March 21, 2024, 8:41am UTC](https://community.cloudquery.io/t/failed-to-sync-aws-pricing-table-to-postgresql-database/279 "2024-03-21T08:41:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eager-sponge](https://avatars.discourse-cdn.com/v4/letter/e/9de053/32.png) [@eager-sponge](https://community.cloudquery.io/u/eager-sponge)\
**Post date:** [March 21, 2024, 8:41am UTC](https://community.cloudquery.io/t/failed-to-sync-aws-pricing-table-to-postgresql-database/279/1 "2024-03-21T08:41:32Z")

</div>

Hi \<@&873653355623370752\> Team,

I am trying to sync the AWS pricing table to my PostgreSQL database, but it’s failing with the following errors. Can you help me with this?

```auto
rajugupta@dell:~$ ./cloudquery sync /home/rajugupta/cloudquery-config/
Loading spec(s) from /home/rajugupta/cloudquery-config/
Starting sync for: aws (cloudquery/aws@v25.4.0) -> [postgresql (cloudquery/postgresql@v7.6.0)]
Sync completed successfully. Resources: 8, Errors: 0, Warnings: 0, Time: 8s
Starting sync for: awspricing (cloudquery/awspricing@v3.1.0) -> [postgresql (cloudquery/postgresql@v7.6.0)]
/ Syncing resources... (518170/-, 195 resources/s) [18m46s] 
**source plugin process failed with signal: killed**
Error: failed to sync v3 source awspricing: unexpected error from sync client receive: rpc error: code = Unavailable desc = error reading from server: read unix @->/tmp/cq-uuWWtKTlgJTRxMzg.sock: read: connection reset by peer**
rajugupta@dell:~$

```

---

<div class="post-metadata">

**Author:** ![herman](https://sea1.discourse-cdn.com/flex001/user_avatar/community.cloudquery.io/herman/32/27_2.png) [@herman](https://community.cloudquery.io/u/herman)\
**Post date:** [March 21, 2024, 9:11am UTC](https://community.cloudquery.io/t/failed-to-sync-aws-pricing-table-to-postgresql-database/279/2 "2024-03-21T09:11:12Z")

</div>

Hi @eager-sponge,

This error is most likely due to the process running out of memory. How much memory does it have available?

You can try and reduce the `concurrency` setting for `awspricing` to something lower so that it will use less memory.
