From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id EJROK/RV+2RrrgAAG6o9tA:P1 (envelope-from ) for ; Fri, 08 Sep 2023 19:12:20 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id EJROK/RV+2RrrgAAG6o9tA (envelope-from ) for ; Fri, 08 Sep 2023 19:12:20 +0200 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id B5B7547875 for ; Fri, 8 Sep 2023 19:12:19 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=VfoYSvCw; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1694193140; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=ZVb8SU2Or2C2GwrPkuvwBZwZMQ6iiZ4S3NQL/XWnP14=; b=ioGM25unp1VtPIMot7wtDlkMYuqCcSN9ojIVPX7mZR+WrS/Hpnj1HgJfoiXNx4jDEsMb0d a4yFnM3Noun4yZwa8UuHcBJr7Tv2N4utaFAvOB+WnwxzLqe0KtgjSEi+N9EWwkrE+3l50r NdVEiacTZHk/pkPjY+/gQ1ukFzKh36l2hn/qZAvOcvASx5fGTtGhP2ad9ACl3hOSQRVSo8 med5s3SGlkt06MQU+Iqoibko6R5OVFyfWEi2THtsMo+Zxs9P2qFcieL3VtXOjQ62LEH157 vuXZBM/86sA+oRISDnEAuvBAvJ6pORafgSuk7/ooBBtOsPLIT+OfgPL2g7VYig== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1694193140; a=rsa-sha256; cv=none; b=P77Kbr8ikZYSaqsZK6HeHpSHmz4EjSxgSoUK3kdKlB5A+qYMwOBUf/ZHzgbfJH+6Lhr76J Py/A2OyHol6e53+ITuC1pwfX5qaDFOJCufo+PbMU+XikLJ01uElTT6b6ASfyJ5+gBbhckh i0tP+UBVQWTqvC7uFc7oiha71c0fxXxZh4bvQoD0qXiZKbtW24izFA5H8Rd+IuEgxGPQ/1 wYy/mT9wdYVSkWwxv5VhhaII6SJQUi9a3A6QGMiOBKQIoEB7B5n+y84CaTivwFcXCtEZUB FRLgrgkqxp0HPcvNHgfaigpiv/g8ThDA+HbJCEPytG/rs9KwxNdfRafLyEwyTA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=gmail.com header.s=20221208 header.b=VfoYSvCw; spf=pass (aspmx1.migadu.com: domain of "emacs-orgmode-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="emacs-orgmode-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=gmail.com Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qef11-0006vH-VI; Fri, 08 Sep 2023 13:11:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qef0w-0006pO-Ty for emacs-orgmode@gnu.org; Fri, 08 Sep 2023 13:11:27 -0400 Received: from mail-oi1-x22a.google.com ([2607:f8b0:4864:20::22a]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qef0r-0003Fn-VD for emacs-orgmode@gnu.org; Fri, 08 Sep 2023 13:11:25 -0400 Received: by mail-oi1-x22a.google.com with SMTP id 5614622812f47-3a9b41ffe11so1556530b6e.2 for ; Fri, 08 Sep 2023 10:11:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1694193080; x=1694797880; darn=gnu.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=ZVb8SU2Or2C2GwrPkuvwBZwZMQ6iiZ4S3NQL/XWnP14=; b=VfoYSvCwrLNDf/OnljLvs99W7s5d8g4cieviOKtBiUoE1A5l2pgwCEfrGNeXzP6/cH 0jUeRQtrH15R4cUmV+kjYauE4YzeyXHQqNenngy7Fg06hHAucb3mwvv+0nvKrhZkcomx wtQzDFIUz05i6HfMg9V43w24+If1wdkti9yq6r5IkcwkOc7So8kgEJ7+sY0vKprpW3K0 duqfW6OEu7LypKdKtPh/Nlp7sv9dTyopUlEhkAXhwtkLRMSggLUk6Ezfgh8jVjTS5Wr5 cJ4oJ+zn9BgreEdE6OCTIRr1UHreEGsHl86Qny4O56adYBBXEJRQ8UXGpjm4cMVriX+A HhHQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1694193080; x=1694797880; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=ZVb8SU2Or2C2GwrPkuvwBZwZMQ6iiZ4S3NQL/XWnP14=; b=lF82bYEUTF95pFPr8ttDM9zmbHRS1dbiaUly1JRN2Nr+RjQFDbqNDCTadnqjHlNwK4 LmirYH1WVJJju5KgovRJOYFsHeLcXf8C4a+Op1AdxofoBv7C4QIwwyURDfG3RC1pZC+E uEKytV6edHZ+yxM60WaQr13CmTquqyYbz89DHf0OjmFoI/ZknbKFy/USH/rbNNqrChYP tPEjC6l25r0Bq5MSXmg+uHw98ykCMq/bzifTbhJsgk/A25rCFlm+dgSICXvJUUHDN3HL FbxJ6SAQttWadPoL9gS0I/1RCFqsm0gMUeV9F3BE22kbyuC5ceyXRdaxABvhPWQTHKkm yocg== X-Gm-Message-State: AOJu0YxuugczyK5k6xHIQTR/iMfYEB9A7iFQFnN1EcEJBI3YUpqBa7MI XMFOss5XUwZxIwPFRbDp8PjC+CbEQJUqVE+TMpwaExdv X-Google-Smtp-Source: AGHT+IHtJdqSencC+/V/lSkyxtw+dl4Ly5YWjgq1htCEK+H9I4HYb2djj8wiObX4fYi3pwPdwdUf8IA9ZYDZLRwbmWs= X-Received: by 2002:a54:4f1a:0:b0:3a4:4b42:612b with SMTP id e26-20020a544f1a000000b003a44b42612bmr3201514oiy.42.1694193080513; Fri, 08 Sep 2023 10:11:20 -0700 (PDT) MIME-Version: 1.0 References: <87il8k8v5f.fsf@localhost> In-Reply-To: <87il8k8v5f.fsf@localhost> From: Carlo Tambuatco Date: Fri, 8 Sep 2023 13:10:44 -0400 Message-ID: Subject: Re: Is there a size limit to org files? To: Ihor Radchenko Cc: Org-Mode Mailing List Content-Type: multipart/alternative; boundary="000000000000becf150604dc1011" Received-SPF: pass client-ip=2607:f8b0:4864:20::22a; envelope-from=oraclmaster@gmail.com; helo=mail-oi1-x22a.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: emacs-orgmode@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+larch=yhetil.org@gnu.org Sender: emacs-orgmode-bounces+larch=yhetil.org@gnu.org X-Migadu-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -1.61 X-Spam-Score: -1.61 X-Migadu-Queue-Id: B5B7547875 X-TUID: +0BHapHOqni0 --000000000000becf150604dc1011 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable You might want to look into what changed between org 9.5.5 and 9.6, because that is when this strange behavior started (for me anyway). I've been hanging onto 9.5.5 for as long as I could until I upgraded to emacs 29. Then the above mentioned strange behavior resumed. My fix for it was to split up my large org files into smaller files, and so far no strange behavior. On Fri, Sep 8, 2023 at 12:51=E2=80=AFPM Ihor Radchenko wrote: > Carlo Tambuatco writes: > > > I noticed that an org file I was using for my capture templates was > getting > > quite large > > and that my capture templates that were pasting TODO entries in that fi= le > > were starting to exhibit > > strange behavior. Mostly just getting stuck at a mysterious "clipboard > > pasted to level 2 subtree" > > message, then it would just hang there until I hit ctrl g. > > That could be a bug, but it is impossible to fix it without knowing more > details. > > > Since this file was getting quite big and unwieldy, > 5000 lines, I > > decided ... > > I am using 100x (yes, 100 times) larger org file right now. With 500k > lines. > > > > So, I was wondering if there is hardcoded somewhere in org some kind of > > size limit to the > > files it has to deal with, or is this some limitation arising naturally > > from the size of > > the clipboard? I'm not sure how org handles large files when considerin= g > > how to paste > > entries from capture templates. > > There is no size limit on Org files. Although certain operations may > become slower when the file size reaches tens of megabytes. > > Clipboard should normally not be a problem either. > > If you can interrupt with C-g, there might be some infinite loop > somewhere in the code. > > -- > Ihor Radchenko // yantar92, > Org mode contributor, > Learn more about Org mode at . > Support Org development at , > or support my work at > --000000000000becf150604dc1011 Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
You might want to look into what changed between org 9.5.5= and 9.6, because=C2=A0
that is when this strange behavior started (for= me anyway). I've been hanging onto=C2=A0
9.5.5 for as long a= s I could until I upgraded to emacs 29. Then the above mentioned=C2=A0
strange behavior resumed. My fix for it was to split up my large org = files into=C2=A0
smaller files, and so far no strange behavior.= =C2=A0



On Fri, Sep 8, 2023 at 12:51=E2= =80=AFPM Ihor Radchenko <yantar92= @posteo.net> wrote:
Carlo Tambuatco <oraclmaster@gmail.com> writes:

> I noticed that an org file I was using for my capture templates was ge= tting
> quite large
> and that my capture templates that were pasting TODO entries in that f= ile
> were starting to exhibit
> strange behavior. Mostly just getting stuck at a mysterious "clip= board
> pasted to level 2 subtree"
> message, then it would just hang there until I hit ctrl g.

That could be a bug, but it is impossible to fix it without knowing more details.

> Since this file was getting quite big and unwieldy, > 5000 lines, I=
> decided ...

I am using 100x (yes, 100 times) larger org file right now. With 500k lines= .


> So, I was wondering if there is hardcoded somewhere in org some kind o= f
> size limit to the
> files it has to deal with, or is this some limitation arising naturall= y
> from the size of
> the clipboard? I'm not sure how org handles large files when consi= dering
> how to paste
> entries from capture templates.

There is no size limit on Org files. Although certain operations may
become slower when the file size reaches tens of megabytes.

Clipboard should normally not be a problem either.

If you can interrupt with C-g, there might be some infinite loop
somewhere in the code.

--
Ihor Radchenko // yantar92,
Org mode contributor,
Learn more about Org mode at <https://orgmode.org/>.
Support Org development at <https://liberapay.com/org-mode>,=
or support my work at <https://liberapay.com/yantar92>
--000000000000becf150604dc1011--