After a brief growth spurt, bank lending in the US shrank in April and May, according to the latest data from the Federal Reserve. As Bloomberg points out, banks’ appetite for government bonds has remained relatively robust since the onset of the financial crisis. American banks now hold almost US$1.7trn in treasuries and related government debt, with holdings growing by an 11-12% annual clip so far this year, despite miserly yields.

The situation at Japanese banks looks eerily similar. Funds are being recycled into government bonds instead of loans, with year-on-year credit in a seemingly permanent state of contraction. The Economist Intelligence Unit does not expect America to experience a protracted slump like the one that has dogged Japan since its spectacular asset-price bubble burst in early 1990s. Still, there are enough similarities in some metrics to cause discomfort.

Encouragingly, deposits at American and Japanese banks are at or near record highs. This will please regulators, who are urging banks to avoid flightier wholesale sources of funding. But until these funds are put to more productive use than stockpiling low-yielding government bonds, nobody will be truly happy.