Author Topic: Memory error when path exceeds 256 characters  (Read 4212 times)

0 Members and 1 Guest are viewing this topic.

dmac101

  • Jr. Member
  • **
  • Posts: 20
Memory error when path exceeds 256 characters
« on: December 13, 2021, 10:30:56 PM »
Hi all,
I have just come across this bug and was wondering if anyone else has had the same issue.

Visio has out of memory error when trying to open file where complete path length exceeds 256 characters including spaces.


Surrogate

  • Hero Member
  • *****
  • Posts: 1730
    • ShapeSheet™ Knowledge Base
Re: Memory error when path exceeds 256 characters
« Reply #1 on: December 14, 2021, 03:35:25 AM »
Hi, dmac101 !
Visio has out of memory error when trying to open file where complete path length exceeds 256 characters including spaces
where do you use this so lo-o-o-o-ong path ?

Visisthebest

  • Hero Member
  • *****
  • Posts: 732
Re: Memory error when path exceeds 256 characters
« Reply #2 on: December 14, 2021, 07:55:19 AM »
Good to know Visio may not give an appropriate error in this case, a memory error is not very informative if the issue is file path length. Office programs do give an appropriate error in these cases.
Visio 2021 Professional

dmac101

  • Jr. Member
  • **
  • Posts: 20
Re: Memory error when path exceeds 256 characters
« Reply #3 on: December 14, 2021, 01:30:56 PM »
Files are stored in SharePoint with sync to my onedrive. The folder structure has several layers with long names that follow a defined naming convention

Surrogate

  • Hero Member
  • *****
  • Posts: 1730
    • ShapeSheet™ Knowledge Base
Re: Memory error when path exceeds 256 characters
« Reply #4 on: December 14, 2021, 01:45:48 PM »
dmac101, i asked about where these paths in Visio?
You try open file stored in SharePoint?

I store few my stencils in SharePoint, and i save folder path as virtual drive.