I think I found a solution to this 64,000 item problem. It seems that every time any trader renew their inventory they keep the previous items in "globals". That's why it's so easy to reach 64,000 items limitation after crafting/selling items (or after looking for many restock new items on the traders).

The solution is to remove all these "Trash Items" with ("Level"=empty)AND("Parent"=0)AND ("Inventory"=0) criteria.

More detail info below:
----------------------------------------------------------------------
I unpacked my savegame (Level 15 characters) and I found in the Items section of the XML:

Total Items in:
globals.lsx..................................... 61134
cyseal.lsx........................................ 3378
lucullaforest.lsx................................ 3079
darkforest.lsx.................................. 2886
homestead.lsx................................... 955
luc_mines.lsx.................................... 677
theprisongardenofstoneking.lsx........... 354
Cys_blackcove.lsx.............................. 329
Charactercreation.lsx........................... 11

Every Item has many attributes (of course) but the ones called my attention are:

"Level"=empty, it means that the Item is not rendered in the map/level (maybe it's in the inventory of a Trader?)
"Owner", the last owner (character/trader)
"Parent"=0, it means that it doesn't belong to a backpack/chest/container/character inventory or trader
"Inventory"=0, it means that it's not a backpack/chest/container
"Translate"=[0,0,0], it means that the item was never rendered in a map/level. (redundant) (Items selled by Traders have this Translate)
"Slot"=65535, it means that the item is not in any inventory (redundant)(Slot 0-14 are the items equipped in that Trader/Character).

After studying the DB of items, there are 2 types of items:
1) Items rendered in the map, those ones have a "Level" (no empty) (also they can have an "owner", or they can be containers with "inventory" and/or "owner")
2) Items inside of a container/chest/bag/inventory (they have a "parent", most of times they have an owner, and they could also have "inventory" if they are containers themselves).

Also I discovered that I crafted and selled 572 Items.

But "Trash Items" with ("Level"=empty)AND("Parent"=0)AND ("Inventory"=0) criteria are 52,761.

This criteria means that these items are not rendered in the map/level ("Level"=empty), they aren't inside of any container/inventory/bag/chest ("Parent"=0) and they are not containers/bag/chest/backpack themselves ("Inventory"=0).

Also I found that these "Trash Items" are the same type of items that the ones every trader restock for themselves (for example, the fish trader has a lot of fish trash items, etc).

Some Traders are:

Name, Level/Map, Owner/CharacterID, InventoryID
TraderBoat, Cyseal, 67174808, 335610268
TraderFish, Cyseal, 67174725, 335610184
TraderMaps, Cyseal, 67174607, 335610066
TraderMage(Water/Air), Cyseal, 67174520, 335609976
TraderRogue, Cyseal, 67174460, 335609916
Arhu(Fire/Earth), Homestead, 67174816, 335610276
TraderArcher, Cyseal, 67174724, 335610183
TraderCaptain(ManOfArms), Cyseal, 67174626, 335610085